Skip to content

Add game seeding scripts for multiproof testing#247

Merged
leopoldjoy merged 2 commits intomainfrom
add-game-seeding-scripts
Apr 11, 2026
Merged

Add game seeding scripts for multiproof testing#247
leopoldjoy merged 2 commits intomainfrom
add-game-seeding-scripts

Conversation

@leopoldjoy
Copy link
Copy Markdown
Contributor

Summary

  • Adds SeedGames.s.sol Foundry script that pre-populates the DisputeGameFactory with chained AggregateVerifier games using real L2 output roots
  • Adds generate-roots.sh bash script that fetches real output roots from an L2 archive node via optimism_outputAtBlock
  • Updates scripts/multiproof/README.md with a 5-step guide for the full seeding workflow

These scripts are useful for testing forward traversal at proposer restart — the proposer can walk the linked list of games to find where to resume. Games use ProofType.ZK with the MockVerifier (which auto-accepts), while the output roots are real values from the L2 chain.

@cb-heimdall
Copy link
Copy Markdown
Collaborator

cb-heimdall commented Apr 11, 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 merged commit 91e22c0 into main Apr 11, 2026
8 checks passed
@leopoldjoy leopoldjoy deleted the add-game-seeding-scripts branch April 11, 2026 15:00
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