-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Description
The next version of evolve (ev-reth) will introduce a number of custom optional evm features such as native mint precompile and base fee redirects.
These features were added to ev-reth by introducing a custom evm ev-revm. See evstack/ev-reth#48.
This means that transactions which we execute via the RSP libraries we depend on in this repository need to be aware of the EVM configuration used.
From what I understand we need both a host and client executor which consume the new evolve evm wrapper.
Similarly to https://github.com/succinctlabs/rsp/blob/main/crates/executor/host/src/host_executor.rs#L27-L29
And https://github.com/succinctlabs/rsp/blob/main/crates/executor/client/src/executor.rs#L35
I suggest adding types such as:
/// host
pub type EvolveHostExecutor = HostExecutor<EvolveEvmConfig<ChainSpec, CustomEvmFactory>, ChainSpec>;
/// client
pub type EvolveClientExecutor = ClientExecutor<EvolveEvmConfig<ChainSpec, CustomEvmFactory>, ChainSpec>;We may also need to include an EvolveChainSpec as well.