Skip to content

Commit

Permalink
Revert "execute eth_estimateGas and eth_createAccessList on lates…
Browse files Browse the repository at this point in the history
…t block (#3220)"

This reverts commit 672b30f.
  • Loading branch information
MartinquaXD committed Jan 8, 2025
1 parent 672b30f commit 1f94610
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions crates/driver/src/infra/blockchain/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,7 @@ impl Ethereum {
.transport()
.execute(
"eth_createAccessList",
vec![
serde_json::to_value(&tx).unwrap(),
serde_json::Value::String("latest".into()),
],
vec![serde_json::to_value(&tx).unwrap()],
)
.await?;
if let Some(err) = json.get("error") {
Expand All @@ -210,7 +207,7 @@ impl Ethereum {
gas_price: self.simulation_gas_price().await,
..Default::default()
},
Some(ethcontract::BlockNumber::Latest),
None,
)
.await
.map(Into::into)
Expand Down

0 comments on commit 1f94610

Please sign in to comment.