-
Notifications
You must be signed in to change notification settings - Fork 564
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: introducing EvmWiring, a chain-specific configuration (#1672)
* refactor: allow chain-specific configuration of Evm * refactor: rename Transaction::transact_to and clarify docs * refactor: remove trait bounds on Transaction super trait * refactor: remove trait bounds from Block supertrait * fix: clippy warnings * fix: cargo doc * refactor: limit trait bounds on HaltReason * refactor: allow moving of kind * refactor: rename Transaction::nonce to nonce_opt to signal that it's optional * refactor: replace AccessList with alloy version * refactor: rename gas_priority_fee to max_priority_fee_per_gas * refactor: correct trait bound on ExecutionResult::clone * Clone * refactor: only allow optional nonce check via CfgEnv * fix: revme * refactor: derive DummyHost * refactor: derive Clone for ExecutionResult * refactor: remove EVMErrorForChain * refactor: derive Clone for CfgEnvWithChainSpec * refactor: use EVMResultGeneric * refactor: add convenience EVMErrorForChain type alias * feat: export OptimismBlock * refactor: add handler constructor and Context to revm::ChainSpec * refactor: generalise optimism implementation using traits * fix: no-default-features * fix: CI * chore: Add default fn to Tx/Block traits * Chore: rename ChainSpec to EvmWiring * chore: clippy comments fix * chore: rename EthEvmWiring to EthereumWiring * chore: re add serde, restring HaltReasonTrait * chore: move custom opcode to examples * chore: remove op feature from test wiring * nit use Self::EvmWiringT * nit indents * feat(Wiring): Add Database and EXT to EvmWiring * some fixes * temp * feat: make builder compile. EnvWiring and Result Halt * chore: cleanup rename * nit * fix: make string conversion complete * fix compile * compiles * wip builder * wip * fix compile * wip * fix optimism test * fix docs ci * cleanup * cleanup * use core::error::Error * cleanup * use core error * fix builer * fix docs * final doc fix * rm alloy provider --------- Co-authored-by: rakita <[email protected]>
- Loading branch information
Showing
92 changed files
with
3,965 additions
and
2,553 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.