Skip to content

Commit ca97d36

Browse files
committed
chore(deps): bump alloy-evm and alloy-op-evm to version 0.23.2
1 parent abf2e83 commit ca97d36

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,8 @@ revm = { version = "31.0.0", default-features = false }
290290
revm-inspectors = { version = "0.32.0", features = ["serde"] }
291291
op-revm = { version = "12.0.0", default-features = false }
292292
## alloy-evm
293-
alloy-evm = "0.23.1"
294-
alloy-op-evm = "0.23.1"
293+
alloy-evm = "0.23.2"
294+
alloy-op-evm = "0.23.2"
295295

296296
## cli
297297
anstream = "0.6"

crates/anvil/core/src/eth/transaction/mod.rs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,13 +1349,11 @@ pub fn convert_to_anvil_receipt(receipt: AnyTransactionReceipt) -> Option<Receip
13491349
impl FromRecoveredTx<TypedTransaction> for TxEnv {
13501350
fn from_recovered_tx(tx: &TypedTransaction, caller: Address) -> Self {
13511351
match tx {
1352-
TypedTransaction::Legacy(signed_tx) => Self::from_recovered_tx(signed_tx.tx(), caller),
1353-
TypedTransaction::EIP2930(signed_tx) => Self::from_recovered_tx(signed_tx.tx(), caller),
1354-
TypedTransaction::EIP1559(signed_tx) => Self::from_recovered_tx(signed_tx.tx(), caller),
1355-
TypedTransaction::EIP4844(signed_tx) => {
1356-
Self::from_recovered_tx(signed_tx.tx().tx(), caller)
1357-
}
1358-
TypedTransaction::EIP7702(signed_tx) => Self::from_recovered_tx(signed_tx.tx(), caller),
1352+
TypedTransaction::Legacy(signed_tx) => Self::from_recovered_tx(signed_tx, caller),
1353+
TypedTransaction::EIP2930(signed_tx) => Self::from_recovered_tx(signed_tx, caller),
1354+
TypedTransaction::EIP1559(signed_tx) => Self::from_recovered_tx(signed_tx, caller),
1355+
TypedTransaction::EIP4844(signed_tx) => Self::from_recovered_tx(signed_tx, caller),
1356+
TypedTransaction::EIP7702(signed_tx) => Self::from_recovered_tx(signed_tx, caller),
13591357
TypedTransaction::Deposit(tx) => Self::from_recovered_tx(tx, caller),
13601358
}
13611359
}

0 commit comments

Comments
 (0)