-
Notifications
You must be signed in to change notification settings - Fork 2k
bump: alloy + revm + alloy-evm #10454
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
base: zerosnacks/revm-bump-2
Are you sure you want to change the base?
Conversation
apply patches for block-explorers and compilers
Use ChaChaRng as temporary measure since proptest is on rand 8
// Prop test uses rand 8 whereas alloy-core has been bumped to rand 9 | ||
// self.test_runner().rng() | ||
self.rng.get_or_insert_with(|| match self.config.seed { | ||
Some(seed) => ChaChaRng::from_seed(seed.to_be_bytes::<32>()), | ||
None => ChaChaRng::from_os_rng(), | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adds a temp rng field to Cheatcodes
to generate random values with the given seed
This is a workaround as proptest still uses rand 8.
lgtm! RE: rand 8 / rand 9
if we highlight this in the changelog this is fine |
Motivation
Builds on #10183
Bumps
Unblocks #10411
Solution
Uses the following patches:
block-explorers - foundry-rs/block-explorers#86
compilers - foundry-rs/compilers#263
fork-db - foundry-rs/foundry-fork-db#46
PR Checklist