Skip to content

Commit

Permalink
fix ci issues
Browse files Browse the repository at this point in the history
  • Loading branch information
yutianwu committed Nov 14, 2024
1 parent b484638 commit a95316b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
env:
CARGO_TERM_COLOR: always
SEED: rustethereumethereumrust
TOOL_CHAIN: "1.81"
TOOL_CHAIN: "1.82"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions crates/optimism/hardforks/src/hardfork.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ impl OptimismHardfork {
Self::Ecotone => Some(1708534800),
Self::Fjord => Some(1716998400),
Self::Granite => Some(1723478400),
Self::Holocene => None,
_ => None,
},
)
Expand Down Expand Up @@ -271,7 +270,6 @@ impl OptimismHardfork {
Self::Ecotone => Some(1710374401),
Self::Fjord => Some(1720627201),
Self::Granite => Some(1726070401),
Self::Holocene => None,
_ => None,
},
)
Expand Down
2 changes: 2 additions & 0 deletions examples/custom-beacon-withdrawals/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ alloy-consensus.workspace = true

eyre.workspace = true

tokio = { workspace = true, features = ["sync", "time"] }

[features]
optimism = [
"reth-primitives/optimism"
Expand Down
5 changes: 4 additions & 1 deletion examples/custom-beacon-withdrawals/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use reth::{
providers::ProviderError,
revm::{
interpreter::Host,
primitives::{Env, TransactTo, TxEnv},
primitives::{Env, EvmState, TransactTo, TxEnv},
Database, DatabaseCommit, Evm, State,
},
};
Expand All @@ -33,6 +33,7 @@ use reth_primitives::{
BlockWithSenders, Receipt,
};
use std::{fmt::Display, sync::Arc};
use tokio::sync::mpsc::UnboundedSender;

pub const SYSTEM_ADDRESS: Address = address!("fffffffffffffffffffffffffffffffffffffffe");
pub const WITHDRAWALS_ADDRESS: Address = address!("4200000000000000000000000000000000000000");
Expand Down Expand Up @@ -277,6 +278,8 @@ fn fill_tx_env_with_system_contract_call(
authorization_list: None,
#[cfg(feature = "optimism")]
optimism: OptimismFields::default(),
#[cfg(feature = "bsc")]
bsc: Default::default(),
};

// ensure the block gas limit is >= the tx
Expand Down

0 comments on commit a95316b

Please sign in to comment.