feat(trie): read-only root calculation (#2233)

This commit is contained in:
Roman Krasiuk
2023-04-21 12:36:48 +03:00
committed by GitHub
parent 9452b3658b
commit ec418d924d
25 changed files with 1279 additions and 494 deletions

View File

@ -98,6 +98,7 @@ impl Command {
tx.clear::<tables::StoragesTrie>()?;
tx.put::<tables::SyncStage>(MERKLE_EXECUTION.0.to_string(), 0)?;
tx.put::<tables::SyncStage>(MERKLE_UNWIND.0.to_string(), 0)?;
tx.delete::<tables::SyncStageProgress>(MERKLE_EXECUTION.0.into(), None)?;
Ok::<_, eyre::Error>(())
})??;
}