Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 2026-01-29
- #2415 Non-breaking, but **important**. Config for MockDa rollup now stricter and prevents unknown fields. Previously there was incorrect `finalization` field instead of `finalization_blocks`

# 2026-01-17
- #2358 **Breaking change**: removes `Runtime::allow_unregistered_tx` - delete this method from your runtime implementation. Allows all transaction types (not just `SequencerRegistry::Register`) in unregistered sequencer batches.
# 2026-01-25
Expand Down
2 changes: 1 addition & 1 deletion crates/adapters/celestia/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub struct CelestiaConfig {
pub request_timeout_secs: NonZero<u64>,
/// Timeout for individual API requests to the Celestia node (in seconds).
/// This is passed to the underlying celestia-client for each API call.
/// Default: 6 (one block time).
/// Default: 8 (one block time plus 2 seconds of wiggle room).
#[serde(default = "default_api_request_timeout_secs")]
pub api_request_timeout_secs: NonZero<u64>,
/// Interval for polling transaction status confirmation (in milliseconds).
Expand Down
1 change: 1 addition & 0 deletions crates/adapters/mock-da/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ pub fn seed_for_test(small_seed: u8) -> HexHash {

/// The configuration for Mock Da.
#[derive(Debug, Clone, serde::Deserialize, serde::Serialize, JsonSchema)]
#[serde(deny_unknown_fields)]
pub struct MockDaConfig {
/// Connection string to the database for storing Da Data.
/// - "sqlite://demo_data/da.sqlite?mode=rwc"
Expand Down
3 changes: 2 additions & 1 deletion crates/module-system/module-schemas/rollup-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,8 @@
}
]
}
}
},
"additionalProperties": false
},
"MonitoringConfig": {
"description": "Configuration of Sovereign monitoring",
Expand Down
9 changes: 5 additions & 4 deletions examples/demo-rollup/configs/mock_rollup_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ connection_string = "sqlite://mock_da.sqlite?mode=rwc"
# For initial full node should match genesis of sequencer-registry.
# It is going to be a DA address that blobs from this node will be associated with.
sender_address = "0000000000000000000000000000000000000000000000000000000000000000"
finalization = 40 # Reorgs up to this depth are allowed. Set to zero for instant finality
finalization_blocks = 0 # Reorgs up to this depth are allowed. Set to zero for instant finality
# failure_behavior = "none" # Configures failure injection for testing. Options: "none", or structured variants for testing

[da.block_producing.periodic]
block_time_ms = 1_000
Expand Down Expand Up @@ -107,9 +108,8 @@ num_cache_warmup_workers = 0
# events_channel_size = 10000 # Size of Tokio channel for streaming events. Larger values increase memory usage
ideal_lag_behind_finalized_slot = 3 # Ideal buffer of finalized slots to maintain. Larger values increase lag in seeing DA info on chain, but allow more buffering when the DA layer is unstable
# db_event_channel_size = 10000 # Event buffer size while update_state is running



# maximum_future_nonce_delta = 100 # Max nonce gap the sequencer will accept and queue for out-of-order txs
# future_nonce_transaction_timeout_millis = 2000 # Timeout for queued future-nonce transactions

#[sequencer.preferred.postgres_config]
#postgres_connection_string = "postgresql://user:pass@host/db" # HIGHLY RECOMMENDED: Use Postgres instead of RocksDB to soft confirmed transactions
Expand All @@ -133,3 +133,4 @@ ideal_lag_behind_finalized_slot = 3 # Ideal buffer of finalized slots to maintai

[sequencer.extension]
max_log_limit = 20000
# response_size_limit = 1018880 # Max response size for eth_getLogs in bytes (default: 1MB - 30KB for headers)
2 changes: 1 addition & 1 deletion typescript/examples/soak-testing/templates/rollup.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[da]
connection_string = "sqlite://mock_da.sqlite?mode=rwc"
sender_address = "0000000000000000000000000000000000000000000000000000000000000000"
finalization = 10
finalization_blocks = 10
[da.block_producing.periodic]
block_time_ms = 3_000

Expand Down