Skip to content

Commit d1f3b45

Browse files
authored
chore: bump deps. revm@14, alloy@0.3, alloy-core@0.8 (#51)
1 parent 80b468f commit d1f3b45

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

Cargo.toml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "trevm"
3-
version = "0.9.0"
3+
version = "0.10.0"
44
rust-version = "1.79.0"
55
edition = "2021"
66
authors = ["init4"]
@@ -27,24 +27,27 @@ option-if-let-else = "warn"
2727
redundant-clone = "warn"
2828

2929
[dependencies]
30-
alloy-consensus = { version = "0.2", features = ["k256"] }
31-
alloy-eips = "0.2.0"
32-
alloy-primitives = "0.7.6"
33-
alloy-rpc-types-eth = "0.2.0"
34-
alloy-rpc-types-mev = "0.2.0"
35-
alloy-sol-types = "0.7.7"
36-
revm = { version = "13.0.0", default-features = false, features = ["std"] }
37-
zenith-types = "0.6"
30+
alloy-primitives = "0.8"
31+
alloy-sol-types = "0.8"
32+
33+
alloy-consensus = { version = "0.3", features = ["k256"] }
34+
alloy-eips = "0.3"
35+
alloy-rpc-types-eth = "0.3"
36+
alloy-rpc-types-mev = "0.3"
37+
38+
revm = { version = "14.0.0", default-features = false, features = ["std"] }
39+
40+
zenith-types = "0.7"
3841

3942
thiserror = "1.0"
4043

4144
[dev-dependencies]
42-
revm = { version = "13.0.0", features = ["test-utils", "serde-json", "std", "alloydb"] }
45+
revm = { version = "14.0.0", features = ["test-utils", "serde-json", "std", "alloydb"] }
4346
tokio = { version = "1.39", features = ["macros", "rt-multi-thread"] }
4447

4548
# alloydb
46-
alloy-provider = "0.2"
47-
alloy-transport = "0.2"
49+
alloy-provider = "0.3"
50+
alloy-transport = "0.3"
4851

4952
alloy-signer = { version = "0.3", default-features = false }
5053
alloy-signer-local = { version = "0.3", default-features = false }

src/fill/alloy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ impl Block for alloy_rpc_types_eth::Header {
261261
prevrandao,
262262
blob_excess_gas_and_price,
263263
} = block_env;
264-
*number = U256::from(self.number.unwrap_or_default());
264+
*number = U256::from(self.number);
265265
*coinbase = self.miner;
266266
*timestamp = U256::from(self.timestamp);
267267
*gas_limit = U256::from(self.gas_limit);

0 commit comments

Comments
 (0)