Skip to content

Conversation

GarmashAlex
Copy link
Contributor

  • This change reassigns variables a and b to the correct rival edges (blk-4.a-6.a and blk-4.a-6.b) before calling CreatedAtBlock() in setupBlockChallengeTreeSnapshot.
  • Without this, the creation times map for mutual blk-4.a-6.* incorrectly reused the prior pair (blk-4.a-8.*), leading to wrong rival timing data under the same mutualId.
  • Big and small step snapshots already reassign a/b; this aligns the block snapshot with that pattern and ensures accurate rival creation times for downstream logic like rivalsWithCreationTimes and local timer computations.

Copy link
Contributor

@rauljordan rauljordan left a comment

Choose a reason for hiding this comment

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

Thanks for the great finding deep in the codebase!

@rauljordan
Copy link
Contributor

Tagging @joshuacolvin0 for a design approval label

@eljobe eljobe enabled auto-merge September 23, 2025 13:00
@eljobe eljobe added this pull request to the merge queue Sep 24, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Sep 24, 2025
@joshuacolvin0 joshuacolvin0 added this pull request to the merge queue Sep 25, 2025
@joshuacolvin0 joshuacolvin0 removed this pull request from the merge queue due to a manual request Sep 25, 2025
@eljobe eljobe enabled auto-merge September 26, 2025 06:28
@eljobe eljobe added this pull request to the merge queue Sep 26, 2025
auto-merge was automatically disabled September 26, 2025 07:07

Pull Request is not mergeable

Merged via the queue into OffchainLabs:master with commit a964782 Sep 26, 2025
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants