-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat(evm
): migrate to alloy-genesis
, rm ethers-core
#6880
Conversation
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.
I noticed we also have this duplicated here:
which we can now also replace
failing tests look related |
Yeah tests are failing because it seems storage is not being set properly—need to take a look |
bump here |
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.
what's the issue exactly that prompted the other PR
still not clear to me
@mattsse for the issue, see: alloy-rs/alloy#151 (comment) |
thanks, now this makes sense to me 🙏 |
76acd42
to
1a4789a
Compare
Motivation
Migrates to using alloy genesis instead of ethers core types for genesis utils.
Solution
Removes ethers core, migrates to alloy genesis.
The
loadAllocs
cheatcode was modified to try reading from a json file which only contains allocs, if the allocs read from the genesis file is empty. This is because nowGenesis
can be deserialized as default, and will not fail if thealloc
field is missing.