Skip to content

Commit

Permalink
feat: update revm 19 alloy 09 (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Dec 30, 2024
1 parent 7747569 commit 540ad5a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
alloy-primitives = { version = "0.8.5", features = ["map"] }
alloy-provider = { version = "0.8", default-features = false }
alloy-rpc-types = { version = "0.8", features = ["eth"] }
alloy-serde = { version = "0.8", default-features = false }
alloy-transport = { version = "0.8", default-features = false }
alloy-consensus = { version = "0.8", default-features = false }
alloy-provider = { version = "0.9", default-features = false }
alloy-rpc-types = { version = "0.9", features = ["eth"] }
alloy-serde = { version = "0.9", default-features = false }
alloy-transport = { version = "0.9", default-features = false }
alloy-consensus = { version = "0.9", default-features = false }

eyre = "0.6"
futures = "0.3"

parking_lot = "0.12"

revm = { version = "18.0.0", default-features = false, features = [
revm = { version = "19.0.0", default-features = false, features = [
"std",
"serde",
] }
Expand All @@ -52,6 +52,6 @@ tracing = "0.1"
url = "2"

[dev-dependencies]
alloy-rpc-client = "0.8"
alloy-transport-http = "0.8"
alloy-rpc-client = "0.9"
alloy-transport-http = "0.9"
tiny_http = "0.12"
2 changes: 1 addition & 1 deletion src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ where
let block = provider
.get_block(number, true.into())
.await
.wrap_err("could not fetch block {number:?}");
.wrap_err(format!("could not fetch block {number:?}"));
(sender, block, number)
});

Expand Down
1 change: 1 addition & 0 deletions src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ impl BlockchainDbMeta {
prevrandao: block.header.mix_hash(),
blob_excess_gas_and_price: Some(BlobExcessGasAndPrice::new(
block.header.excess_blob_gas().unwrap_or_default(),
false,
)),
};

Expand Down

0 comments on commit 540ad5a

Please sign in to comment.