paradigmxyz / reth

Modular, contributor-friendly and blazing-fast implementation of the Ethereum protocol, in Rust
https://reth.rs/
Apache License 2.0
3.99k stars 1.22k forks source link

feat(trie): introduce `TRIE_ACCOUNT_RLP_MAX_SIZE` constant #12638

Closed rkrasiuk closed 3 days ago

rkrasiuk commented 4 days ago

Description

Introduces TRIE_ACCOUNT_RLP_MAX_SIZE constant (see comments for more info) and uses it as capacity for every account rlp buffer out there.