-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial commit * WIP: adding epoch to proposal and vote data, not compiling yet * Make it compile * Adjust tests * Add a test type for two stake tables for even and odd epochs * Debugging * Fix extended voting * Try "in epoch transition" approach * Continue debugging * Use correct epoch with Membership * Adjust tests and lints * Adapt to variable stake table after merge * Fix accidentally pulled bug in eQC rule * Commit includes epoch for vote and proposal data types * Prune dependencies (#3787) * add new message types and gate outgoing messages * Use the proper message for the proposal response * Modify commit for `Leaf2` and `QuorumData2` * Adjust tests * Clean up debug traces * Initial commit for double quorum * Add TODO * Next epoch nodes vote during epoch transition * Form the second QC at the end of an epoch * Allow early payload save but check that's it's the same * Attach next epoch justify qc to proposals * Validate the next epoch justify qc * Test with more network types * Fix fmt in tests * Use real threshold in the tests based on an epoch * Membership thresholds depend on an epoch * Make sure epoch transition proposals include the next epoch QC * Use epoch from vote and add more tests * Adjust marketplace ver number * Epochs without Marketplace and adjust tests * Add epoch to test_success * Add debug traces * try * Adjust view change logic in transactions task * Cleanup debug traces * Don't chage view when voting for eQC * Add a lot of traces to find a deadlock * Keep the task for view one less than the current. We might still be transmitting * Clean debug traces * An epoch should not increment without view being incremented as well * Use saturating_sub consistently * Fix compiler error * fix merge * Add a new test * Fixes after merge * Fix vid share handling * Submit transactions to the correct epoch * Address review comments * Fix compiler error * Adjust test * test_with_failures_2_with_epochs test uses only TestTwoStakeTablesTypes * Modify test_epoch_end to use uneven number of nodes, it now fails * VID share required target epoch as well * VID share needs old epoch payload commitment * Use odd number of nodes in tests * Remove debug trace --------- Co-authored-by: Artemii Gerasimovich <[email protected]> Co-authored-by: ss-es <[email protected]> Co-authored-by: Rob <[email protected]>
- Loading branch information
1 parent
71cf05d
commit 3d705c6
Showing
15 changed files
with
336 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.