Skip to content

chore(fill): fix --fork/from/until for transition forks #1311

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

Merged
merged 3 commits into from
Mar 14, 2025

Conversation

spencer-tb
Copy link
Contributor

@spencer-tb spencer-tb commented Mar 13, 2025

🗒️ Description

Transition forks do not work within --fork/from/until when using fill. This PR fixes the latter.

>> uv run fill --fork ShanghaiToCancunAtTime15k 
Error: Unsupported fork provided to --fork: ShanghaiToCancunAtTime15k 

Available forks:
Byzantium, Prague, Homestead, Istanbul, Cancun, Frontier, London, Osaka, Paris, CancunEIP7692, Shanghai, ConstantinopleFix, Berlin, Constantinople
Available transition forks:
BerlinToLondonAt5, CancunToPragueAtTime15k, ShanghaiToCancunAtTime15k, ParisToShanghaiAtTime15k

Exit: Invalid command-line options.

🔗 Related Issues

More context: #1307

✅ Checklist

  • All: Set appropriate labels for the changes.
  • All: Considered squashing commits to improve commit history.
  • All: Added an entry to CHANGELOG.md.
  • All: Considered updating the online docs in the ./docs/ directory.

@spencer-tb spencer-tb added scope:forks Scope: Changes ethereum_test_forks package type:chore Type: Chore scope:fill Scope: fill command labels Mar 13, 2025
@spencer-tb spencer-tb requested a review from danceratopz March 13, 2025 16:56
@spencer-tb spencer-tb force-pushed the chore-fix-transition-fork-fill branch from 5f11979 to 20e1b14 Compare March 13, 2025 17:10
Copy link
Member

@danceratopz danceratopz left a comment

Choose a reason for hiding this comment

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

Very cool thanks! Appreciate the unit test. I/we need to start building these tests out for consume, too!

These collect an identical test set now (as expected):

fill --from Cancun --until Prague --collect-only -q
fill --from ShanghaiToCancunAtTime15k --until Prague --collect-only -q

@danceratopz danceratopz merged commit 0bceb2d into main Mar 14, 2025
21 checks passed
@danceratopz danceratopz deleted the chore-fix-transition-fork-fill branch March 14, 2025 12:21
felix314159 pushed a commit to felix314159/execution-spec-tests that referenced this pull request May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope:fill Scope: fill command scope:forks Scope: Changes ethereum_test_forks package type:chore Type: Chore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants