-
Notifications
You must be signed in to change notification settings - Fork 81
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
Upgrade to risc0 1.2.1-rc.1 #138
Conversation
crates/core/src/db/trie.rs
Outdated
pub storage: HashMap<Address, StorageEntry>, | ||
pub contracts: HashMap<B256, Bytecode>, | ||
pub block_hashes: HashMap<u64, B256>, | ||
pub storage: HashMap<Address, StorageEntry, NoMapHasher>, |
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.
alloy-primitives
has a specialized HashMap for those types like AddressMap or B256Map that follows a similar approach, but still protects against accidental and intentional HashDoS that makes the NoMapHasher dangerous. And starting with 0.8.16 it saw some big hash performance improvements.
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.
nice find!
This PR updates zeth to the risc0
1.2.1-rc.1
release. Additionally it contains various patches and bug fixes for batch proofs.Closes #135.
Closes #137.