-
Notifications
You must be signed in to change notification settings - Fork 700
Chore/remove affirmation map from chainscoordinator #6332
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
base: develop
Are you sure you want to change the base?
Chore/remove affirmation map from chainscoordinator #6332
Conversation
Signed-off-by: Jacinta Ferrant <[email protected]>
Signed-off-by: Jacinta Ferrant <[email protected]>
Signed-off-by: Jacinta Ferrant <[email protected]>
Signed-off-by: Jacinta Ferrant <[email protected]>
…irmation_maps_at_height, and find_valid_sortitions Signed-off-by: Jacinta Ferrant <[email protected]>
…ain_block Signed-off-by: Jacinta Ferrant <[email protected]>
Signed-off-by: Jacinta Ferrant <[email protected]>
…k_compatible_with_affirmation_map Signed-off-by: Jacinta Ferrant <[email protected]>
Signed-off-by: Jacinta Ferrant <[email protected]>
Signed-off-by: Jacinta Ferrant <[email protected]>
… into chore/remove-affirmation-map-from-chainscoordinator
Signed-off-by: Jacinta Ferrant <[email protected]>
Signed-off-by: Jacinta Ferrant <[email protected]>
Signed-off-by: Jacinta Ferrant <[email protected]>
…dless of epoch Signed-off-by: Jacinta Ferrant <[email protected]>
Signed-off-by: Jacinta Ferrant <[email protected]>
Signed-off-by: Jacinta Ferrant <[email protected]>
Signed-off-by: Jacinta Ferrant <[email protected]>
Signed-off-by: Jacinta Ferrant <[email protected]>
Signed-off-by: Jacinta Ferrant <[email protected]>
Signed-off-by: Jacinta Ferrant <[email protected]>
…nchor_v205 Signed-off-by: Jacinta Ferrant <[email protected]>
…it_affirmation Signed-off-by: Jacinta Ferrant <[email protected]>
…cle as the sync start point, and remove a now-defunct test (PoX bitvectors are always 1's, so there is no need to test for the case when there's a 0)
chore: fix epoch2x inv sync
Signed-off-by: Jacinta Ferrant <[email protected]>
… into chore/remove-affirmation-map-from-chainscoordinator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me -- just have a comment about dropping the affirmation weight column.
Signed-off-by: Jacinta Ferrant <[email protected]>
…rmation_maps from burnchain db Signed-off-by: Jacinta Ferrant <[email protected]>
…and update changelog Signed-off-by: Jacinta Ferrant <[email protected]>
Signed-off-by: Jacinta Ferrant <[email protected]>
@@ -2894,7 +2885,6 @@ fn test_pox_reorg_one_flap() { | |||
|
|||
/// PoX reorg tests where two miners take turn mining hidden anchor blocks. | |||
/// Both miners mine in the reward phase, and in doing so, confirm their hidden anchor blocks. | |||
/// The heaviest affirmation map grows as n+pppa+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not even sure this test could pass anymore. This test exercises the affirmation map system.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed in a9aa74e
@@ -2289,8 +2289,6 @@ fn test_pox_reorgs_three_flaps() { | |||
for (i, c) in confs.iter().enumerate() { | |||
let tip_info = get_chain_info(c); | |||
info!("Tip for miner {i}: {tip_info:?}"); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This tests the affirmation map system, so it's not expected to pass with its removal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will take a look. If you think it should just be removed, can do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed in a9aa74e
); | ||
|
||
Ok(()) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wooo! bye-bye 1K-line file 😁
This all looks great to me! Just waiting for this to be a non-draft and for CI to pass. |
…evant Signed-off-by: Jacinta Ferrant <[email protected]>
I removed 5 tests in tests::epoch_21 and 1 from tests::epoch_22 |
… into chore/remove-affirmation-map-from-chainscoordinator
…olumn and add tests Signed-off-by: Jacinta Ferrant <[email protected]>
Fully closes #6314
This is nice to see:
