Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: EIP-3074 (via revm patch) #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 30 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 25 additions & 25 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ foundry-compilers = { version = "0.3.18", default-features = false }

## revm
# no default features to avoid c-kzg
revm = { version = "8", default-features = false }
revm-primitives = { version = "3", default-features = false }
revm-inspectors = { git = "https://github.com/paradigmxyz/evm-inspectors", rev = "813d7e7", features = [
revm = { git = "https://github.com/wevm/revm", branch = "jxom/eip-3074-v8", default-features = false }
revm-primitives = { git = "https://github.com/wevm/revm", branch = "jxom/eip-3074-v8", default-features = false }
revm-inspectors = { git = "https://github.com/jxom/evm-inspectors", branch = "jxom/eip-3074", features = [
"serde",
] }

Expand All @@ -157,28 +157,28 @@ ethers-providers = { version = "2.0.14", default-features = false }
ethers-signers = { version = "2.0.14", default-features = false }

## alloy
alloy-consensus = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-contract = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-eips = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-genesis = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-json-rpc = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-network = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-node-bindings = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-provider = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-pubsub = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-rpc-client = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-rpc-types-engine = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-rpc-types-trace = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-signer = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-signer-wallet = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-signer-aws = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-signer-ledger = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-signer-trezor = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-transport = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-transport-http = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-transport-ipc = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-transport-ws = { git = "https://github.com/alloy-rs/alloy", rev = "8808d21", default-features = false }
alloy-consensus = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-contract = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-eips = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-genesis = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-json-rpc = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-network = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-node-bindings = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-provider = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-pubsub = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-rpc-client = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-rpc-types-engine = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-rpc-types-trace = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-signer = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-signer-wallet = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-signer-aws = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-signer-ledger = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-signer-trezor = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-transport = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-transport-http = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-transport-ipc = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-transport-ws = { git = "https://github.com/alloy-rs/alloy", rev = "ca54552", default-features = false }
alloy-primitives = { version = "0.7.1", features = ["getrandom"] }
alloy-dyn-abi = "0.7.1"
alloy-json-abi = "0.7.1"
Expand Down
1 change: 1 addition & 0 deletions crates/anvil/src/eth/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2652,6 +2652,7 @@ impl TryFrom<Result<(InstructionResult, Option<Output>, u128, State)>> for GasEs
InstructionResult::CreateContractSizeLimit |
InstructionResult::CreateContractStartingWithEF |
InstructionResult::CreateInitCodeSizeLimit |
InstructionResult::ActiveAccountUnsetAuthCall |
InstructionResult::FatalExternalError |
InstructionResult::OutOfFunds |
InstructionResult::CallTooDeep => Ok(Self::EvmError(exit)),
Expand Down
2 changes: 1 addition & 1 deletion crates/anvil/src/eth/backend/fork.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use crate::eth::{backend::db::Db, error::BlockchainError};
use alloy_primitives::{Address, Bytes, StorageValue, B256, U256};
use alloy_provider::{debug::DebugApi, Provider};
use alloy_provider::{ext::DebugApi, Provider};
use alloy_rpc_types::{
request::TransactionRequest, AccessListWithGasUsed, Block, BlockId,
BlockNumberOrTag as BlockNumber, BlockTransactions, EIP1186AccountProofResponse, FeeHistory,
Expand Down
Loading