Skip to content

Commit

Permalink
Merge branch 'v1.1.4-taiko' of gh_work:taikoxyz/taiko-reth into v1.1.…
Browse files Browse the repository at this point in the history
…4-taiko
  • Loading branch information
johntaiko committed Dec 27, 2024
2 parents deb4cbc + 5fa3fcb commit 587b8b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions crates/storage/errors/src/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@ pub enum ProviderError {
InvalidStorageOutput,

/// L1 origin error
#[display("not L1Origin found for block #{_0}")]
#[display("not found")]
L1OriginNotFound(BlockNumber),

/// Head L1 origin error
#[display("head L1Origin does not exist")]
#[display("not found")]
HeadL1OriginNotFound,
}

Expand Down
6 changes: 3 additions & 3 deletions crates/taiko/evm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ impl ConfigureEvmEnv for TaikoEvmConfig {
if let Some(EnvExt { is_anchor, block_number, extra_data }) = ext {
// Set taiko specific data
tx_env.taiko.is_anchor = is_anchor;
// set the treasury address
let treasury = self.chain_spec.treasury();
tx_env.taiko.treasury = treasury;

if self.chain_spec.is_ontake_active_at_block(block_number) {
// set the basefee ratio
tx_env.taiko.basefee_ratio = decode_ontake_extra_data(extra_data);
}
}
// set the treasury address
let treasury = self.chain_spec.treasury();
tx_env.taiko.treasury = treasury;
}

fn fill_tx_env_system_contract_call(
Expand Down

0 comments on commit 587b8b1

Please sign in to comment.