feat(storage, tree): respect Transaction Lookup pruning in the blockchain tree (#4410)

This commit is contained in:
Alexey Shekhirin
2023-09-01 13:51:34 +01:00
committed by GitHub
parent 39a6fa1b57
commit e66e3e3556
29 changed files with 118 additions and 49 deletions

View File

@ -81,6 +81,7 @@ impl Case for BlockchainTestCase {
provider.insert_block(
SealedBlock::new(case.genesis_block_header.clone().into(), BlockBody::default()),
None,
None,
)?;
case.pre.write_to_db(provider.tx_ref())?;
@ -88,7 +89,7 @@ impl Case for BlockchainTestCase {
for block in case.blocks.iter() {
let decoded = SealedBlock::decode(&mut block.rlp.as_ref())?;
last_block = Some(decoded.number);
provider.insert_block(decoded, None)?;
provider.insert_block(decoded, None, None)?;
}
// Call execution stage