Skip to content

Add getStartingAnchorRoot to MockAnchorStateRegistry#212

Merged
leopoldjoy merged 1 commit intomainfrom
fix/mock-asr-get-starting-anchor-root
Mar 21, 2026
Merged

Add getStartingAnchorRoot to MockAnchorStateRegistry#212
leopoldjoy merged 1 commit intomainfrom
fix/mock-asr-get-starting-anchor-root

Conversation

@leopoldjoy
Copy link
Copy Markdown
Contributor

AggregateVerifier calls getStartingAnchorRoot() on the AnchorStateRegistry when initialising the first dispute game (parentIndex = uint32.max). The MockAnchorStateRegistry was missing this function, causing game creation to revert. Added in #201 when AggregateVerifier switched from getAnchorRoot() to getStartingAnchorRoot(), but the mock was not updated.

@cb-heimdall
Copy link
Copy Markdown
Collaborator

cb-heimdall commented Mar 21, 2026

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@leopoldjoy leopoldjoy requested a review from jackchuma March 21, 2026 00:56
@leopoldjoy leopoldjoy merged commit fbe16f3 into main Mar 21, 2026
8 checks passed
@leopoldjoy leopoldjoy deleted the fix/mock-asr-get-starting-anchor-root branch March 21, 2026 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants