Skip to content
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

Add support for prevrandao cheatcode #547

Open
anishnaik opened this issue Jan 30, 2025 · 0 comments
Open

Add support for prevrandao cheatcode #547

anishnaik opened this issue Jan 30, 2025 · 0 comments
Labels
help wanted Extra attention is needed low-priority

Comments

@anishnaik
Copy link
Collaborator

Currently, we only have the difficulty cheatcode. This cheatcode should revert if we are past the Paris EVM version and prevrandao should be used instead.

https://book.getfoundry.sh/cheatcodes/difficulty
https://book.getfoundry.sh/cheatcodes/prevrandao

To close this issue, the difficulty cheatcode should also be updated to revert.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed low-priority
Projects
None yet
Development

No branches or pull requests

1 participant