Skip to content

Commit 540ad5a

Browse files
authored
feat: update revm 19 alloy 09 (#39)
1 parent 7747569 commit 540ad5a

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

Cargo.toml

+8-8
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ rustdoc-args = ["--cfg", "docsrs"]
2626

2727
[dependencies]
2828
alloy-primitives = { version = "0.8.5", features = ["map"] }
29-
alloy-provider = { version = "0.8", default-features = false }
30-
alloy-rpc-types = { version = "0.8", features = ["eth"] }
31-
alloy-serde = { version = "0.8", default-features = false }
32-
alloy-transport = { version = "0.8", default-features = false }
33-
alloy-consensus = { version = "0.8", default-features = false }
29+
alloy-provider = { version = "0.9", default-features = false }
30+
alloy-rpc-types = { version = "0.9", features = ["eth"] }
31+
alloy-serde = { version = "0.9", default-features = false }
32+
alloy-transport = { version = "0.9", default-features = false }
33+
alloy-consensus = { version = "0.9", default-features = false }
3434

3535
eyre = "0.6"
3636
futures = "0.3"
3737

3838
parking_lot = "0.12"
3939

40-
revm = { version = "18.0.0", default-features = false, features = [
40+
revm = { version = "19.0.0", default-features = false, features = [
4141
"std",
4242
"serde",
4343
] }
@@ -52,6 +52,6 @@ tracing = "0.1"
5252
url = "2"
5353

5454
[dev-dependencies]
55-
alloy-rpc-client = "0.8"
56-
alloy-transport-http = "0.8"
55+
alloy-rpc-client = "0.9"
56+
alloy-transport-http = "0.9"
5757
tiny_http = "0.12"

src/backend.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ where
318318
let block = provider
319319
.get_block(number, true.into())
320320
.await
321-
.wrap_err("could not fetch block {number:?}");
321+
.wrap_err(format!("could not fetch block {number:?}"));
322322
(sender, block, number)
323323
});
324324

src/cache.rs

+1
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ impl BlockchainDbMeta {
162162
prevrandao: block.header.mix_hash(),
163163
blob_excess_gas_and_price: Some(BlobExcessGasAndPrice::new(
164164
block.header.excess_blob_gas().unwrap_or_default(),
165+
false,
165166
)),
166167
};
167168

0 commit comments

Comments
 (0)