From c63ecd6aba69e1dee2f038dac580bee1943bcea6 Mon Sep 17 00:00:00 2001 From: Daniil Polyakov Date: Fri, 13 Feb 2026 02:05:55 +0300 Subject: [PATCH] fix: initiate sequencer with chain height from db and not from config genesis id --- common/src/block.rs | 1 + sequencer_core/src/lib.rs | 54 ++++++++++++++++++++++++++++++++++++++- storage/src/lib.rs | 2 ++ 3 files changed, 56 insertions(+), 1 deletion(-) diff --git a/common/src/block.rs b/common/src/block.rs index 91ad1175..90bbe357 100644 --- a/common/src/block.rs +++ b/common/src/block.rs @@ -10,6 +10,7 @@ pub type TimeStamp = u64; #[derive(Debug, Clone, BorshSerialize, BorshDeserialize)] pub struct BlockMeta { + pub id: BlockId, pub hash: BlockHash, pub msg_id: MantleMsgId, } diff --git a/sequencer_core/src/lib.rs b/sequencer_core/src/lib.rs index 31f76a0a..596ac747 100644 --- a/sequencer_core/src/lib.rs +++ b/sequencer_core/src/lib.rs @@ -98,6 +98,9 @@ impl SequencerCore SequencerCore