forked from foundry-rs/foundry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(forge): Paris & Shanghai support & add
prevrandao
cheatcode (f…
…oundry-rs#4856) * chore: upgrade default evm version to shanghai for optimizoors * fix: make test runner actually respect evm_version * chore: clippy? * chore: add paris and shanghai to available evm versions but run london on tests * chore: add missing post-merge block properties * chore: poc on checking for shanghai compat per RPC * chore: dedupe evm_spec fn * feat: set default test runner config to shanghai * feat: add prevrandao cheatcode * chore: modify tests to use prevrandao * chore: fmt * chore: test out comp by setting solc 0.8.19 * chore: improve warning message * chore: unpin solidity version, fmt * chore: pin things to ethers default (merge) instead of shanghai * chore: clippy * chore: force forge tests to use at least 0.8.19 * feat: fix fixtures and other test-related compiler errors * chore: add missing semicolons to failed compiler run msg * chore: fix last complaining test * chore: fix remaining tests * chore: format warning as yellow, use Chain type instead of raw U256s * chore: correct difficulty for prevrandao * chore: make testconfig evm spec nicely configurable * feat: add Shanghai compat test (thanks karmacoma and vex) * chore: make own folder for evm spec tests * chore: move shanghai compat test to its own spec folder * chore: remove duplicated function * Apply suggestions from code review Co-authored-by: DaniPopes <[email protected]> * feat: rewrite shanghai support check to be more efficient * chore: use any * chore: fmt * chore: show chain IDs that are unsupported * chore: point out unsupported chain IDs explicitly in message --------- Co-authored-by: DaniPopes <[email protected]>
- Loading branch information
Showing
153 changed files
with
399 additions
and
268 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.