We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf15a7a commit 1a98634Copy full SHA for 1a98634
1 file changed
crates/anvil/src/eth/backend/mem/mod.rs
@@ -2256,7 +2256,12 @@ impl Backend {
2256
let result = evm.transact(env.tx.clone())?;
2257
let res = evm
2258
.inspector_mut()
2259
- .json_result(result, &env.tx.into_tx_env(), &block, &cache_db)
+ .json_result(
2260
+ result,
2261
+ &alloy_evm::IntoTxEnv::<TxEnv>::into_tx_env(env.tx),
2262
+ &block,
2263
+ &cache_db,
2264
+ )
2265
.map_err(|err| BlockchainError::Message(err.to_string()))?;
2266
2267
Ok(GethTrace::JS(res))
@@ -3047,7 +3052,7 @@ impl Backend {
3047
3052
let trace = inspector
3048
3053
.json_result(
3049
3054
result,
3050
- &alloy_evm::IntoTxEnv::into_tx_env(tx_env),
3055
+ &alloy_evm::IntoTxEnv::<TxEnv>::into_tx_env(tx_env),
3051
3056
&env.evm_env.block_env,
3057
&cache_db,
3058
)
0 commit comments