rust-ethereum / evm

Pure Rust implementation of Ethereum Virtual Machine
Apache License 2.0
1.16k stars 355 forks source link

Several refactor work (attempt 2) #254

Closed sorpaas closed 9 months ago

sorpaas commented 9 months ago

A different version of #253 where we only move State into associate type. In certain cases, it's still possible to implement Interpreter over an generic Handle -- switching handle type in the middle of an execution.

If you are not convinced, this version removed several PhantomData that was previously there.