Skip to content

Commit 0ceb6ec

Browse files
chore: cleanup shasta/taiko.rs (#872)
* chore: cleanup shasta/taiko.rs * bump version * fix format * fix: update keccak
1 parent 6536548 commit 0ceb6ec

File tree

3 files changed

+8
-15
lines changed

3 files changed

+8
-15
lines changed

Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ resolver = "2"
1313
default-members = ["node"]
1414

1515
[workspace.package]
16-
version = "1.33.5"
16+
version = "1.33.6"
1717
edition = "2024"
1818
repository = "https://github.com/NethermindEth/Catalyst"
1919
license = "MIT"

shasta/src/l2/taiko.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//TODO remove
2-
#![allow(dead_code)]
3-
41
use super::execution_layer::L2ExecutionLayer;
52
use crate::l1::protocol_config::ProtocolConfig;
63
use crate::node::proposal_manager::l2_block_payload::L2BlockV2Payload;
@@ -39,7 +36,6 @@ pub struct Taiko {
3936
l2_execution_layer: Arc<L2ExecutionLayer>,
4037
driver: Arc<TaikoDriver>,
4138
slot_clock: Arc<SlotClock>,
42-
coinbase: String,
4339
l2_engine: L2Engine,
4440
}
4541

@@ -67,7 +63,6 @@ impl Taiko {
6763
),
6864
driver: Arc::new(TaikoDriver::new(&driver_config, metrics).await?),
6965
slot_clock,
70-
coinbase: format!("0x{}", hex::encode(taiko_config.signer.get_address())),
7166
l2_engine,
7267
})
7368
}
@@ -278,8 +273,6 @@ impl Taiko {
278273
Ok(base_fee)
279274
}
280275

281-
// TODO fix that function
282-
#[allow(clippy::too_many_arguments)]
283276
pub async fn advance_head_to_new_l2_block(
284277
&self,
285278
l2_block_payload: L2BlockV2Payload,

0 commit comments

Comments
 (0)