diff --git a/crates/sequencing/papyrus_consensus_orchestrator/src/sequencer_consensus_context.rs b/crates/sequencing/papyrus_consensus_orchestrator/src/sequencer_consensus_context.rs index d3204e84fc..078b76f542 100644 --- a/crates/sequencing/papyrus_consensus_orchestrator/src/sequencer_consensus_context.rs +++ b/crates/sequencing/papyrus_consensus_orchestrator/src/sequencer_consensus_context.rs @@ -170,6 +170,7 @@ impl ConsensusContext for SequencerConsensusContext { block_timestamp: BlockTimestamp( now.timestamp().try_into().expect("Failed to convert timestamp"), ), + use_kzg_da: true, ..Default::default() }, }; @@ -361,6 +362,7 @@ impl SequencerConsensusContext { block_timestamp: BlockTimestamp( now.timestamp().try_into().expect("Failed to convert timestamp"), ), + use_kzg_da: true, ..Default::default() }, }; diff --git a/crates/starknet_api/src/block.rs b/crates/starknet_api/src/block.rs index 74f72a462d..b2e31e8bde 100644 --- a/crates/starknet_api/src/block.rs +++ b/crates/starknet_api/src/block.rs @@ -486,7 +486,7 @@ impl GasPrices { )] pub struct BlockTimestamp(pub u64); -#[derive(Clone, Debug, Deserialize, Default, Serialize)] +#[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct BlockInfo { pub block_number: BlockNumber, pub block_timestamp: BlockTimestamp,