Skip to content

Commit

Permalink
chore: bump deps. revm@14, [email protected], [email protected] (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
prestwich authored Sep 10, 2024
1 parent 80b468f commit d1f3b45
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
27 changes: 15 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "trevm"
version = "0.9.0"
version = "0.10.0"
rust-version = "1.79.0"
edition = "2021"
authors = ["init4"]
Expand All @@ -27,24 +27,27 @@ option-if-let-else = "warn"
redundant-clone = "warn"

[dependencies]
alloy-consensus = { version = "0.2", features = ["k256"] }
alloy-eips = "0.2.0"
alloy-primitives = "0.7.6"
alloy-rpc-types-eth = "0.2.0"
alloy-rpc-types-mev = "0.2.0"
alloy-sol-types = "0.7.7"
revm = { version = "13.0.0", default-features = false, features = ["std"] }
zenith-types = "0.6"
alloy-primitives = "0.8"
alloy-sol-types = "0.8"

alloy-consensus = { version = "0.3", features = ["k256"] }
alloy-eips = "0.3"
alloy-rpc-types-eth = "0.3"
alloy-rpc-types-mev = "0.3"

revm = { version = "14.0.0", default-features = false, features = ["std"] }

zenith-types = "0.7"

thiserror = "1.0"

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

# alloydb
alloy-provider = "0.2"
alloy-transport = "0.2"
alloy-provider = "0.3"
alloy-transport = "0.3"

alloy-signer = { version = "0.3", default-features = false }
alloy-signer-local = { version = "0.3", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion src/fill/alloy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ impl Block for alloy_rpc_types_eth::Header {
prevrandao,
blob_excess_gas_and_price,
} = block_env;
*number = U256::from(self.number.unwrap_or_default());
*number = U256::from(self.number);
*coinbase = self.miner;
*timestamp = U256::from(self.timestamp);
*gas_limit = U256::from(self.gas_limit);
Expand Down

0 comments on commit d1f3b45

Please sign in to comment.