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

Release Candidate v2024.0.0 - HIP-32 code (no mainnet HF) + Improvements #4546

Merged
merged 136 commits into from
Mar 5, 2024

Conversation

ONECasey
Copy link
Contributor

@ONECasey ONECasey commented Oct 26, 2023

#4539 - Fixed memory leak and deadcode
#4541 - Fix typo in README test steps
#4542 - Call update state after reached consensus, fixes #4534
#4540 - add new functions to p2p stream client for sharing the full states
#4543 - Deadcode
#4544 - Fixed data race
#4455 - Mechanism for peers blocking
#4547 - Cleanup
#4359 - Leader rotation. Check next leader aliveness
#4548 - Fixed bug with port already in use
#4550 - Deadcode and cleanup
#4554 - Refactored verify block
#4559 - Fixed data race
#4553 - Timeout for block proposal
#4560 - Fixed import and workaround for failing test
#4563 - Fix typos
#4562 - Fixed panic with dHelper
#4565 - Fix the block insertion in legacy sync for existed block
#4569 - Removed future blocks from blockchain_impl.go
#4571 - Removed fast block
#4572 - Removed unused functions and improved locks usage
#4573 - Skip epochchain errors
#4574 - Removed outdated check
#4552 - fix: max-rate bellow the era min-rate
#4578 - Revert "fix: max-rate bellow the era min-rate"
#4581 - Fix: Inconsistent from field Hash Calculation in Different API Versions
#4575 - Fixed infinity loop sync
#4583 - Activate leader rotation devnet
#4580 - Fix: max rate issue
#4584 - Feature: last signing power
#4596 - Activate external rotation devnet
#4597 - delay for a few epochs the leader rotations devnet
#4594 - Complete Fast Sync codes
#4599 - reduce internal voting power to 10% devnet
#4602 - ignore known blocks for processing state sync
#4601 - Force verify all sign
#4606 - fix stream closure
#4607 - 15 nodes per shard for devnet
#4610 - Fixed decider concurrent map access
#4611 - Devnet: activate leader rotation at epoch 4
#4617 - Fix for revert
#4618 - Fix snapshot creation, add snapshot configurations
#4623 - fix allowed txs to be able to handle multiple txs for same from address
#4621 - Removed outdated flag, additional checks and simplified logic
#4625 - Skip check when the 100% check is achieved

Frozen and others added 20 commits October 20, 2023 12:16
Co-authored-by: Casey Gardiner <117784577+ONECasey@users.noreply.github.com>
Co-authored-by: Max <82761650+MaxMustermann2@users.noreply.github.com>
Co-authored-by: Soph <35721420+sophoah@users.noreply.github.com>
Co-authored-by: Konstantin <355847+Frozen@users.noreply.github.com>
Co-authored-by: Nita Neou (Soph) <soph@harmony.one>
Co-authored-by: Diego Nava <diego.nava77@hotmail.com>
Co-authored-by: Diego Nava <8563843+diego1q2w@users.noreply.github.com>
Co-authored-by: Gheis Mohammadi <Gheis.Mohammadi@gmail.com>
Co-authored-by: “GheisMohammadi” <36589218+GheisMohammadi@users.noreply.github.com>
Co-authored-by: Adam Androulidakis <37982984+adsorptionenthalpy@users.noreply.github.com>
…4540)

* add new functions to p2p stream client for sharing the full states

* remove extra comments, add bytes checking

* add client tests for new p2p stream client functions

* rename new client functions

* complete tests for new functions of  p2p stream client
* Fixed data race.

* Additional error checking for InsertChain.
@ONECasey ONECasey added the Next Release Use this label for the next release label Oct 26, 2023
@ONECasey ONECasey self-assigned this Oct 26, 2023
Mechanism for peers bloking.
* Cleanup

* Cleanup
@GheisMohammadi
Copy link
Contributor

some of the PRs here are not squash merged. So, many of the similar vague commits like "Added logs" or "Fixed Imports" are merging like a PR.

* Cleanup and fix update pub keys.

* Skip the next leader if it doesn't sign blocks.

* Comment & constant.

* Updated with dev.

* Updated with latest dev.

* Cleanup
@ONECasey
Copy link
Contributor Author

Lets discuss dates for Hard Fork here @sophoah @GheisMohammadi @Frozen @diego1q2w

@GheisMohammadi GheisMohammadi self-requested a review January 18, 2024 15:41
diego1q2w and others added 13 commits January 23, 2024 14:10
* fix null snapshot issue in chain helper's state sync new functions
* add WriteHeaderNumber to writeHeadBlock
* improve CurrentBlockNumberto handle unsaved new pivot
* fix null response data for full state sync
* add log for zero task in state worker loop
* Delete blocks from chain.

* Write Head block.
…ss (#4623)

* fix allowed txs to be able to handle multiple txs for same from address

* improve tx data checking for allowed txs

Co-authored-by: Diego Nava <8563843+diego1q2w@users.noreply.github.com>

---------

Co-authored-by: Diego Nava <8563843+diego1q2w@users.noreply.github.com>
* Removed outdated flag and simplified logic.

* Removed outdated flag and simplified logic.

* Added additional logs.
* fix(consensus): skip is all collected

* fix(consensus): add the IsAllSigsCollected

* fix(consensus): remove consensus.decider.IsAllSigsCollected()

* fix(consensus): remove code
@sophoah sophoah changed the title Release Candidate v2024.1.0 - Leader Rotation Release Candidate v2024.0.0 - 2024 first release Feb 7, 2024
diego1q2w and others added 3 commits February 20, 2024 09:08
* fix allowed txs to be able to handle multiple txs for same from address (#4624)

* [HOTFIX] fix leader crosslink issue to not include old cross link in the propo… (#4629)

* fix leader crosslink issue to not include old cross link in the proposing block

* set higher epoch threshold for pending crosslinks to be added to proposing block

* delete old pending cross links

* delete when proposing

* delete when proposing

* delete when proposing

* delete when proposing

* minor logic change for the log

* minor logic change for the log

* minor logic change for the log

* minor logic change for the log

---------

Co-authored-by: Diego Nava <diego.nava77@hotmail.com>

* Fix for possible panic. (#4627)

* Fix, removed duplicated check.

---------

Co-authored-by: Gheis Mohammadi <Gheis.Mohammadi@gmail.com>
Co-authored-by: Diego Nava <diego.nava77@hotmail.com>
Co-authored-by: Konstantin <355847+Frozen@users.noreply.github.com>
@ONECasey ONECasey changed the title Release Candidate v2024.0.0 - 2024 first release Release Candidate v2024.1.0 - HIP-32 + Improvement Feb 21, 2024
@ONECasey ONECasey changed the title Release Candidate v2024.1.0 - HIP-32 + Improvement Release Candidate v2024.1.0 - HIP-32 + Improvements Feb 21, 2024
@sophoah sophoah changed the title Release Candidate v2024.1.0 - HIP-32 + Improvements Release Candidate v2024.0.0 - HIP-32 code (no mainnet HF) + Improvements Mar 5, 2024
@sophoah sophoah merged commit b3aebb6 into main Mar 5, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Next Release Use this label for the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consensus stuck in sync mode
8 participants