Skip to content

Commit

Permalink
make Parentchain block confirmation mortal
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Nov 5, 2024
1 parent ae60b49 commit 9714d8c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core/parentchain/block-importer/src/block_importer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,10 @@ impl<
Ok(Some(confirm_processed_parentchain_block_call)) => {
let opaque_call = confirm_processed_parentchain_block_call;
// if we have significant downtime, this mortality means we will not confirm all imported blocks
/*
let mortality = GenericMortality {
era: Era::Mortal(300, 0),
era: Era::mortal(512, (*block.header().number()).into()),
mortality_checkpoint: Some(block.hash()),
};*/
let mortality = GenericMortality::immortal();
};
calls.push((opaque_call, mortality));
},
Ok(None) => trace!("omitting confirmation call to non-integritee parentchain"),
Expand Down

0 comments on commit 9714d8c

Please sign in to comment.