Skip to content

Commit e37d8aa

Browse files
chore: update protocol constants (#780)
* chore: update protocol constants * bump version
1 parent b938e78 commit e37d8aa

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
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
@@ -12,7 +12,7 @@ resolver = "2"
1212
default-members = ["node"]
1313

1414
[workspace.package]
15-
version = "1.24.5"
15+
version = "1.25.0"
1616
edition = "2024"
1717
repository = "https://github.com/NethermindEth/Catalyst"
1818
license = "MIT"

shasta/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,13 @@ pub async fn create_shasta_node(
8787
};
8888

8989
let max_blocks_per_batch = if config.max_blocks_per_batch == 0 {
90-
5 // TODO fetch actual max from protocol config
90+
//https://github.com/taikoxyz/taiko-mono/blob/taiko-alethia-protocol-v3.0.0/packages/protocol/docs/Derivation.md#constants
91+
384 // value from Taiko Derivation docs
9192
} else {
9293
config.max_blocks_per_batch
9394
};
9495

95-
let max_anchor_height_offset = 64; // TODO fetch actual max from protocol config
96+
let max_anchor_height_offset = 128; // value from Taiko Derivation docs
9697

9798
let batch_builder_config = BatchBuilderConfig {
9899
max_bytes_size_of_batch: config.max_bytes_size_of_batch,

0 commit comments

Comments
 (0)