SBliFF legacy pass-through
brenzi opened this issue · comments
brenzi commented
Before we can tackle fork-handling, we need to make block confirmation work with SBliFF L1 pallet as it was before. With SBliFF, we can only confirm imported sidechain blocks if we know what the latest finalized header is. This information must be fetched before importing blocks and must be passed on until confirm_imported_sidechain_block.
subtasks
- refactor
itp-enclave-bridge-storage
anditp-teerex-storage
crates into mergeditp-pallet-storage
and addsidechain::LatestSidechainBlockConfirmation
(less redundant code) - fetch
sidechain::LatestSidechainBlockConfirmation
from Integritee Network. probably directly intop_pool_execution, and passing the header into
BlockImportQueueWorker::process_queue` - use
LatestSidechainBlockConfirmation
when confirming block in PeerBlockSync::import_or_sync_blocks()
this does not include
- detecting if we're on a fork
- acting on it
it just enables confirming sidechain blocks with the new pallet (tx version 7)