mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 01:11:04 +00:00
Limit number of blocks per level (2nd attempt) (#1559)
Prevents the StateDbError::TooManySiblingBlocks error from being triggered by eagerly removing stale blocks from the backend on block import and before the error condition is met. Introduces a just in time block recovery mechanism for blocks that were wrongly removed via an explicit pov-recovery method Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Generated
+4
@@ -1673,11 +1673,14 @@ name = "cumulus-client-consensus-common"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"cumulus-client-pov-recovery",
|
||||
"cumulus-primitives-core",
|
||||
"cumulus-relay-chain-interface",
|
||||
"cumulus-test-client",
|
||||
"dyn-clone",
|
||||
"futures",
|
||||
"futures-timer",
|
||||
"log",
|
||||
"parity-scale-codec",
|
||||
"polkadot-primitives",
|
||||
"sc-client-api",
|
||||
@@ -1786,6 +1789,7 @@ dependencies = [
|
||||
"cumulus-relay-chain-inprocess-interface",
|
||||
"cumulus-relay-chain-interface",
|
||||
"cumulus-relay-chain-minimal-node",
|
||||
"futures",
|
||||
"parking_lot 0.12.1",
|
||||
"polkadot-primitives",
|
||||
"sc-client-api",
|
||||
|
||||
Reference in New Issue
Block a user