Skip to content

Commit

Permalink
chore: bump revm inspectors (paradigmxyz#10790)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Sep 9, 2024
1 parent d8b12ac commit afdaf15
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
9 changes: 5 additions & 4 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ revm = { version = "14.0.0", features = [
"secp256k1",
"blst",
], default-features = false }
revm-inspectors = "0.6"
revm-inspectors = "0.6.1"
revm-primitives = { version = "9.0.0", features = [
"std",
], default-features = false }
Expand Down
8 changes: 4 additions & 4 deletions crates/rpc/rpc/src/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ where
Ok(inspector)
})
.await?;
return Ok(FourByteFrame::from(inspector).into())
return Ok(FourByteFrame::from(&inspector).into())
}
GethDebugBuiltInTracerType::CallTracer => {
let call_config = tracer_config
Expand Down Expand Up @@ -356,7 +356,7 @@ where
let frame = inspector
.with_transaction_gas_limit(env.tx.gas_limit)
.into_geth_builder()
.geth_prestate_traces(&res, prestate_config, db)
.geth_prestate_traces(&res, &prestate_config, db)
.map_err(Eth::Error::from_eth_err)?;
Ok(frame)
})
Expand Down Expand Up @@ -706,7 +706,7 @@ where
GethDebugBuiltInTracerType::FourByteTracer => {
let mut inspector = FourByteInspector::default();
let (res, _) = self.eth_api().inspect(db, env, &mut inspector)?;
return Ok((FourByteFrame::from(inspector).into(), res.state))
return Ok((FourByteFrame::from(&inspector).into(), res.state))
}
GethDebugBuiltInTracerType::CallTracer => {
let call_config = tracer_config
Expand Down Expand Up @@ -739,7 +739,7 @@ where
let frame = inspector
.with_transaction_gas_limit(env.tx.gas_limit)
.into_geth_builder()
.geth_prestate_traces(&res, prestate_config, db)
.geth_prestate_traces(&res, &prestate_config, db)
.map_err(Eth::Error::from_eth_err)?;

return Ok((frame.into(), res.state))
Expand Down

0 comments on commit afdaf15

Please sign in to comment.