Skip to content

Conversation

jferrant
Copy link
Contributor

@jferrant jferrant commented Jul 24, 2025

Fully closes #6314

This is nice to see:
Screenshot 2025-09-04 at 9 21 46 AM

@jferrant jferrant requested review from a team as code owners July 24, 2025 16:47
@jferrant jferrant moved this to Status: In Review in Stacks Core Eng Jul 24, 2025
@jferrant jferrant added this to the 3.2.0.0.1 milestone Jul 24, 2025
@jferrant jferrant self-assigned this Jul 24, 2025
@wileyj wileyj moved this from Status: In Review to Status: 💻 In Progress in Stacks Core Eng Jul 25, 2025
jferrant and others added 6 commits August 25, 2025 13:02
…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)
Signed-off-by: Jacinta Ferrant <[email protected]>
@jferrant jferrant requested review from hstove and obycode and removed request for hstove August 27, 2025 22:50
… into chore/remove-affirmation-map-from-chainscoordinator
@aldur aldur requested a review from rdeioris September 2, 2025 14:40
Copy link
Contributor

@kantai kantai left a 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.

@jferrant jferrant marked this pull request as draft September 3, 2025 19:44
@@ -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+
Copy link
Member

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.

Copy link
Contributor Author

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:?}");

Copy link
Member

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.

Copy link
Contributor Author

@jferrant jferrant Sep 4, 2025

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed in a9aa74e

);

Ok(())
}
Copy link
Member

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 😁

@jcnelson
Copy link
Member

jcnelson commented Sep 4, 2025

This all looks great to me! Just waiting for this to be a non-draft and for CI to pass.

@jferrant
Copy link
Contributor Author

jferrant commented Sep 4, 2025

This all looks great to me! Just waiting for this to be a non-draft and for CI to pass.

I removed 5 tests in tests::epoch_21 and 1 from tests::epoch_22

… into chore/remove-affirmation-map-from-chainscoordinator
@jferrant jferrant requested review from jcnelson and kantai September 4, 2025 18:04
@jferrant jferrant marked this pull request as ready for review September 4, 2025 18:04
@jferrant jferrant requested a review from a team as a code owner September 4, 2025 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Status: 💻 In Progress
Development

Successfully merging this pull request may close these issues.

4 participants