Skip to content

Commit

Permalink
upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Wollac committed Jan 8, 2025
1 parent ff7f5d7 commit 9bcd68e
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 18 deletions.
15 changes: 7 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ risc0-zkvm = { git = "https://github.com/risc0/risc0", branch = "main", default-
risc0-binfmt = { git = "https://github.com/risc0/risc0", branch = "main", default-features = false }

# Alloy guest dependencies
alloy-consensus = { version = "0.8" }
alloy-consensus = { version = "0.9" }
alloy-rlp = { version = "0.3.8" }
alloy-primitives = { version = "0.8.8" }
alloy-sol-types = { version = "0.8.8" }
alloy-primitives = { version = "0.8.16" }
alloy-sol-types = { version = "0.8.16" }

# OP Steel
op-alloy-network = { version = "0.8" }
op-alloy-network = { version = "0.9" }

# Alloy host dependencies
alloy = { version = "0.8" }
alloy-trie = { version = "0.7" }
alloy = { version = "0.9" }
alloy-trie = { version = "0.7.5" }

# Beacon chain support
ethereum-consensus = { git = "https://github.com/ralexstokes/ethereum-consensus.git", rev = "cf3c404043230559660810bc0c9d6d5a8498d819" }
Expand All @@ -44,8 +44,7 @@ anyhow = { version = "1.0" }
bincode = { version = "1.3" }
clap = { version = "4.5", features = ["derive", "env"] }
log = "0.4"
nybbles = { version = "0.2" }
revm = { version = "18.0", default-features = false, features = ["std"] }
revm = { version = "19.2", default-features = false, features = ["std"] }
reqwest = "0.12"
serde = "1.0"
serde_json = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/erc20-counter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ risc0-build = { git = "https://github.com/risc0/risc0", branch = "main", feature
risc0-zkvm = { git = "https://github.com/risc0/risc0", branch = "main", default-features = false }
risc0-zkp = { git = "https://github.com/risc0/risc0", branch = "main", default-features = false }

alloy = { version = "0.8", features = ["full"] }
alloy = { version = "0.9", features = ["full"] }
alloy-primitives = { version = "0.8", features = ["rlp", "serde", "std"] }
alloy-sol-types = { version = "0.8" }
anyhow = { version = "1.0.75" }
Expand Down
2 changes: 1 addition & 1 deletion examples/governance/apps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = { workspace = true }
edition = { workspace = true }

[dependencies]
alloy = { version = "0.8", features = ["full"] }
alloy = { version = "0.9", features = ["full"] }
alloy-primitives = { workspace = true }
alloy-sol-types = { workspace = true }
anyhow = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion examples/op/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ risc0-op-steel = { path = "../../op-steel" }
risc0-steel = { path = "../../steel" }
risc0-ethereum-contracts = { path = "../../contracts" }
examples-common = { path = "common" }
alloy = { version = "0.8" }
alloy = "0.9"
2 changes: 1 addition & 1 deletion op-steel/src/optimism/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl EvmBlockHeader for OpBlockHeader {
// technically, this is only valid after EIP-4399 but revm makes sure it is not used before
blk_env.prevrandao = Some(header.mix_hash);
if let Some(excess_blob_gas) = header.excess_blob_gas {
blk_env.set_blob_excess_gas_and_price(excess_blob_gas)
blk_env.set_blob_excess_gas_and_price(excess_blob_gas, false)
};
}
}
Expand Down
3 changes: 1 addition & 2 deletions steel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ alloy-consensus = { workspace = true }
alloy-primitives = { workspace = true, features = ["rlp", "serde"] }
alloy-rlp = { workspace = true }
alloy-sol-types = { workspace = true }
alloy-trie = { workspace = true }
alloy-trie = { workspace = true, features = ["serde"] }
anyhow = { workspace = true }
ethereum-consensus = { workspace = true, optional = true }
log = { workspace = true, optional = true }
nybbles = { workspace = true, features = ["serde"] }
reqwest = { workspace = true, optional = true }
revm = { workspace = true, features = ["serde"] }
serde = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion steel/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ mod host {
}
}

impl<'a, S, H> CallBuilder<S, &'a GuestEvmEnv<H>>
impl<S, H> CallBuilder<S, &GuestEvmEnv<H>>
where
S: SolCall,
H: EvmBlockHeader,
Expand Down
2 changes: 1 addition & 1 deletion steel/src/ethereum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impl EvmBlockHeader for EthBlockHeader {
// technically, this is only valid after EIP-4399 but revm makes sure it is not used before
blk_env.prevrandao = Some(header.mix_hash);
if let Some(excess_blob_gas) = header.excess_blob_gas {
blk_env.set_blob_excess_gas_and_price(excess_blob_gas)
blk_env.set_blob_excess_gas_and_price(excess_blob_gas, false);
};
}
}
3 changes: 1 addition & 2 deletions steel/src/mpt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ use std::fmt::Debug;

use alloy_primitives::{b256, keccak256, map::B256HashMap, B256};
use alloy_rlp::{BufMut, Decodable, Encodable, Header, PayloadView, EMPTY_STRING_CODE};
use alloy_trie::nodes::encode_path_leaf;
use nybbles::Nibbles;
use alloy_trie::{nodes::encode_path_leaf, nybbles::Nibbles};
use serde::{Deserialize, Serialize};

/// Root hash of an empty Merkle Patricia trie, i.e. `keccak256(RLP(""))`.
Expand Down

0 comments on commit 9bcd68e

Please sign in to comment.