risechain / pevm

Blazingly fast Parallel EVM
MIT License
173 stars 17 forks source link

Deduplicate bytecodes #202

Open hai-rise opened 2 months ago

hai-rise commented 2 months ago

Many accounts share the same bytecode (forks) so it's much more efficient only to track the code hash accompanied by a mapping from code hashes to the bytecodes. Basically, we should deduplicate any container of EvmAccount.