chore(tree): a few refactors and instrumentations (#2549)

This commit is contained in:
Matthias Seitz
2023-05-04 14:08:53 +02:00
committed by GitHub
parent 010b600f39
commit dfd35fabb4
8 changed files with 294 additions and 163 deletions

View File

@ -35,7 +35,7 @@ pub enum Error {
#[error("Provider error")]
ProviderError,
#[error("BlockChainId can't be found in BlockchainTree with internal index {chain_id}")]
BlockChainIdConsistency { chain_id: u64 },
BlockSideChainIdConsistency { chain_id: u64 },
#[error(
"Appending chain on fork (other_chain_fork:?) is not possible as the tip is {chain_tip:?}"
)]