Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mainnet Release v2025.0.0 #4831

Merged
merged 85 commits into from
Jan 22, 2025
Merged

Mainnet Release v2025.0.0 #4831

merged 85 commits into from
Jan 22, 2025

Conversation

sophoah
Copy link
Contributor

@sophoah sophoah commented Jan 15, 2025

#4762 - Improve P2P Stream Handling & Stream Sync Enhancements
#4772 - Enhance Concurrency and Lock Management in Staged Stream Sync Module
#4777 - Add Support for Trusted Nodes in P2P Host
#4786 - Enhance Final Commit Function with Improved Error Handling
#4791 - Improve logging for consensus leader setup
#4792 - [fix] - CI - update macos from 12 to 13, sync the CI steps for macos
#4787 - Optimize Syncing-Consensus Communication to Prevent Unnecessary Consensus Resets
#4790 - Moved the UpdateConsensusInformation method to the test suite
#4801 - Add Logging to ReadySignal Method for New Block Proposals
#4785 - Additional logs for consensus
#4793 - localnet with multi bls
#4798 - Enhance Leader Rotation Logic to Address Edge Cases in Leader Selection
#4805 - Add Check for Faucet Key Existence Before Building External Validator
#4807 - Add Localnet Config to Adjust Blocks per Epoch
#4803 - Minor: Moved method WaitForConsensusReadyV2 from Consensus struct.
#4799 - Improve Consensus logic for Multi-BLS Validators with quorum
#4811 - Fix Multi-BLS Key Validator Leader Rotation to Prevent Multiple Block Proposals
#4804 - Prevents BlocksSynchronized being called before finalCommit
#4815 - Add Resource Manager to P2P Host
#4818 - Add New Command to Makefile for Enhanced Localnet Debugging
#4816 - Fix for excess propose signals.
#4819 - multi bls multi ext node
#4827 - Add Resource Manager to P2P Configs When Enabled
#4832 - refactor: CI - fallback to the master branch in harmony-test if same branch name doesn't exitst
#4767 - fix: fix slice init length
#4759 - Effective gas price
#4834 - update harmony and bootnode version

cuishuang and others added 30 commits October 17, 2024 16:23
* remove error logs if stream already exist
* improve pickAvailableStream to continue looking for other available streams if any stream fails
* add thread safe map to request manager in p2p stream layer
* improve stream sync switching from long range to short range
* improve context for doSync loop in stream sync
* add error handling for context deadline exceed issue
* fix request manager test
* improve computeLongestHashChain and its whitelist
* improve countHashMaxVote
* introduce new configs to StagedStreamSync struct
* initialize new configs in stream sync and add them to logs
* pass node config to stream sync downloader, increase stream sync ticker time, init sync if not epoch chain
* add two new metrics to stream sync
* pass node configs to service and downloaders to have access to node configurations in stream sync
* using BeaconValidator and BecaonShard instead of BeaconNode, using EpochChain config to detect epochcian in stages, add acceptPartially to GetBlockHash to be able to get a part of hashes
* pass nodeconfig to downloaders
* remove BeaconNode from protocol, fix shortrange tests
* improve lock in request manager test
* update Failures option names, remove beaconNode from stream protocol
* fix shard id detection
* improve getBlockByMaxVote
* add one more checking for prestaking
* improve epoch and beacon node detection for stream sync
* fix passing roles to sync protocol
* remove nil error from logs
* fix switch between long range and short range in stream sync
* fix stream sync slowness
* improve short range helpers concurrency
* stop readMsgLoop once stream is closed
* stop discovery loop once stream manager is closing
* fix peer id in stream manager logs
* separate stream set and stream manager
…4772)

Enhance Concurrency and Lock Management in Staged Stream Sync Module
Add Support for Trusted Nodes in P2P Host
…nsus Resets (#4787)

* improve consensus finalCommit
* not trigger BlocksSynchronized if node is fully synced
* stream sync unsets consensus sync flags in long range
* dns sync triggers BlocksSynchronized only if there is some blocks added
* not send BlocksSynchronized signal for epoch chain
* Removed `UpdateConsensusInformation`
* Moved to tests.
@Frozen
Copy link
Contributor

Frozen commented Jan 15, 2025

becase we gave NthNextValidatorV2 release requires hardfork

@Frozen
Copy link
Contributor

Frozen commented Jan 22, 2025

https://github.com/harmony-one/harmony/pull/4831/files#diff-46a911a8e03d9a1646d25e0d42a0b26b073362154647a437053fe2ec22e10c55R61

Deadlock

major, if we are not using streamsync it's fine

@Frozen
Copy link
Contributor

Frozen commented Jan 22, 2025

https://github.com/harmony-one/harmony/pull/4831/files#diff-46a911a8e03d9a1646d25e0d42a0b26b073362154647a437053fe2ec22e10c55R67
Deadlock

major, if we are not using streamsync it's fine

@sophoah
Copy link
Contributor Author

sophoah commented Jan 22, 2025

@Frozen thanks yeah we are not using streamsync in mainnet nor testnet right now. Appreciate your approval.

* update harmony and bootnode version
* add support for commitAt
@sophoah sophoah changed the title Placeholder PR for Release v2025.0.0 Release v2025.0.0 Jan 22, 2025
@sophoah sophoah changed the title Release v2025.0.0 Mainnet Release v2025.0.0 Jan 22, 2025
@sophoah sophoah merged commit 7721af7 into main Jan 22, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants