polkadot: pin one block per session (#1220)

* polkadot: propagate UnpinHandle to ActiveLeafUpdate

Also extract the leaf creation for tests
into a common function.

* dispute-coordinator: try pinned blocks for slashin

* apparently 1.72 is smarter than 1.70

* address nits

* rename fresh_leaf to new_leaf
This commit is contained in:
ordian
2023-09-07 12:24:40 +02:00
committed by GitHub
parent 1346143194
commit 15503883e2
33 changed files with 387 additions and 620 deletions
Generated
+6 -1
View File
@@ -12303,9 +12303,10 @@ dependencies = [
"parking_lot 0.12.1",
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
"polkadot-overseer",
"polkadot-primitives",
"sc-client-api",
"sc-keystore",
"sc-utils",
"sp-application-crypto",
"sp-core",
"sp-keyring",
@@ -12325,6 +12326,7 @@ dependencies = [
"polkadot-node-primitives",
"polkadot-primitives",
"polkadot-statement-table",
"sc-client-api",
"sc-network",
"sc-transaction-pool-api",
"smallvec",
@@ -12362,11 +12364,13 @@ dependencies = [
"polkadot-node-primitives",
"polkadot-node-subsystem",
"polkadot-node-subsystem-test-helpers",
"polkadot-node-subsystem-types",
"polkadot-overseer",
"polkadot-primitives",
"polkadot-primitives-test-helpers",
"prioritized-metered-channel",
"rand 0.8.5",
"sc-client-api",
"schnellru",
"sp-application-crypto",
"sp-core",
@@ -12390,6 +12394,7 @@ dependencies = [
"polkadot-node-metrics",
"polkadot-node-network-protocol",
"polkadot-node-primitives",
"polkadot-node-subsystem-test-helpers",
"polkadot-node-subsystem-types",
"polkadot-primitives",
"polkadot-primitives-test-helpers",