mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
Switch to polkadot master branch (#230)
* Switch to polkadot master branch * Fix compilation
This commit is contained in:
Generated
+56
-47
@@ -2905,7 +2905,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "kusama-runtime"
|
name = "kusama-runtime"
|
||||||
version = "0.8.26"
|
version = "0.8.26"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitvec",
|
"bitvec",
|
||||||
"frame-executive",
|
"frame-executive",
|
||||||
@@ -5017,7 +5017,7 @@ checksum = "feb3b2b1033b8a60b4da6ee470325f887758c95d5320f52f9ce0df055a55940e"
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-availability-bitfield-distribution"
|
name = "polkadot-availability-bitfield-distribution"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
"log 0.4.11",
|
"log 0.4.11",
|
||||||
@@ -5031,7 +5031,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-availability-distribution"
|
name = "polkadot-availability-distribution"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
"log 0.4.11",
|
"log 0.4.11",
|
||||||
@@ -5049,7 +5049,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-cli"
|
name = "polkadot-cli"
|
||||||
version = "0.8.26"
|
version = "0.8.26"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"frame-benchmarking-cli",
|
"frame-benchmarking-cli",
|
||||||
"log 0.4.11",
|
"log 0.4.11",
|
||||||
@@ -5068,7 +5068,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-collator-protocol"
|
name = "polkadot-collator-protocol"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
"log 0.4.11",
|
"log 0.4.11",
|
||||||
@@ -5082,7 +5082,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-core-primitives"
|
name = "polkadot-core-primitives"
|
||||||
version = "0.7.30"
|
version = "0.7.30"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"parity-scale-codec",
|
"parity-scale-codec",
|
||||||
"sp-core",
|
"sp-core",
|
||||||
@@ -5093,7 +5093,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-erasure-coding"
|
name = "polkadot-erasure-coding"
|
||||||
version = "0.8.26"
|
version = "0.8.26"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"parity-scale-codec",
|
"parity-scale-codec",
|
||||||
"polkadot-primitives",
|
"polkadot-primitives",
|
||||||
@@ -5106,7 +5106,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-network-bridge"
|
name = "polkadot-network-bridge"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
@@ -5123,7 +5123,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-node-collation-generation"
|
name = "polkadot-node-collation-generation"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
"log 0.4.11",
|
"log 0.4.11",
|
||||||
@@ -5139,7 +5139,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-node-core-av-store"
|
name = "polkadot-node-core-av-store"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
"futures-timer 3.0.2",
|
"futures-timer 3.0.2",
|
||||||
@@ -5159,7 +5159,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-node-core-backing"
|
name = "polkadot-node-core-backing"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitvec",
|
"bitvec",
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
@@ -5177,7 +5177,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-node-core-bitfield-signing"
|
name = "polkadot-node-core-bitfield-signing"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"derive_more 0.99.11",
|
"derive_more 0.99.11",
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
@@ -5193,7 +5193,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-node-core-candidate-selection"
|
name = "polkadot-node-core-candidate-selection"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
"log 0.4.11",
|
"log 0.4.11",
|
||||||
@@ -5206,7 +5206,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-node-core-candidate-validation"
|
name = "polkadot-node-core-candidate-validation"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
"log 0.4.11",
|
"log 0.4.11",
|
||||||
@@ -5222,7 +5222,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-node-core-chain-api"
|
name = "polkadot-node-core-chain-api"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
"polkadot-node-subsystem",
|
"polkadot-node-subsystem",
|
||||||
@@ -5234,7 +5234,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-node-core-proposer"
|
name = "polkadot-node-core-proposer"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
"futures-timer 3.0.2",
|
"futures-timer 3.0.2",
|
||||||
@@ -5258,7 +5258,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-node-core-provisioner"
|
name = "polkadot-node-core-provisioner"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitvec",
|
"bitvec",
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
@@ -5272,7 +5272,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-node-core-runtime-api"
|
name = "polkadot-node-core-runtime-api"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
"polkadot-node-subsystem",
|
"polkadot-node-subsystem",
|
||||||
@@ -5284,7 +5284,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-node-network-protocol"
|
name = "polkadot-node-network-protocol"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"parity-scale-codec",
|
"parity-scale-codec",
|
||||||
"polkadot-node-primitives",
|
"polkadot-node-primitives",
|
||||||
@@ -5295,7 +5295,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-node-primitives"
|
name = "polkadot-node-primitives"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
"parity-scale-codec",
|
"parity-scale-codec",
|
||||||
@@ -5308,7 +5308,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-node-subsystem"
|
name = "polkadot-node-subsystem"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"derive_more 0.99.11",
|
"derive_more 0.99.11",
|
||||||
@@ -5331,7 +5331,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-node-subsystem-test-helpers"
|
name = "polkadot-node-subsystem-test-helpers"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
@@ -5353,7 +5353,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-node-subsystem-util"
|
name = "polkadot-node-subsystem-util"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
@@ -5376,7 +5376,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-overseer"
|
name = "polkadot-overseer"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
@@ -5393,7 +5393,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-parachain"
|
name = "polkadot-parachain"
|
||||||
version = "0.8.26"
|
version = "0.8.26"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"derive_more 0.99.11",
|
"derive_more 0.99.11",
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
@@ -5416,7 +5416,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-pov-distribution"
|
name = "polkadot-pov-distribution"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
"log 0.4.11",
|
"log 0.4.11",
|
||||||
@@ -5429,7 +5429,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-primitives"
|
name = "polkadot-primitives"
|
||||||
version = "0.8.26"
|
version = "0.8.26"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitvec",
|
"bitvec",
|
||||||
"frame-system",
|
"frame-system",
|
||||||
@@ -5454,7 +5454,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-rpc"
|
name = "polkadot-rpc"
|
||||||
version = "0.8.26"
|
version = "0.8.26"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"jsonrpc-core",
|
"jsonrpc-core",
|
||||||
"pallet-transaction-payment-rpc",
|
"pallet-transaction-payment-rpc",
|
||||||
@@ -5484,7 +5484,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-runtime"
|
name = "polkadot-runtime"
|
||||||
version = "0.8.26"
|
version = "0.8.26"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitvec",
|
"bitvec",
|
||||||
"frame-executive",
|
"frame-executive",
|
||||||
@@ -5547,7 +5547,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-runtime-common"
|
name = "polkadot-runtime-common"
|
||||||
version = "0.8.26"
|
version = "0.8.26"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitvec",
|
"bitvec",
|
||||||
"frame-support",
|
"frame-support",
|
||||||
@@ -5582,7 +5582,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-runtime-parachains"
|
name = "polkadot-runtime-parachains"
|
||||||
version = "0.8.0"
|
version = "0.8.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitvec",
|
"bitvec",
|
||||||
"frame-support",
|
"frame-support",
|
||||||
@@ -5611,12 +5611,13 @@ dependencies = [
|
|||||||
"sp-session",
|
"sp-session",
|
||||||
"sp-staking",
|
"sp-staking",
|
||||||
"sp-std",
|
"sp-std",
|
||||||
|
"xcm",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-service"
|
name = "polkadot-service"
|
||||||
version = "0.8.3"
|
version = "0.8.3"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"frame-benchmarking",
|
"frame-benchmarking",
|
||||||
"frame-system-rpc-runtime-api",
|
"frame-system-rpc-runtime-api",
|
||||||
@@ -5695,7 +5696,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-statement-distribution"
|
name = "polkadot-statement-distribution"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"arrayvec 0.5.2",
|
"arrayvec 0.5.2",
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
@@ -5712,7 +5713,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-statement-table"
|
name = "polkadot-statement-table"
|
||||||
version = "0.8.26"
|
version = "0.8.26"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"parity-scale-codec",
|
"parity-scale-codec",
|
||||||
"polkadot-primitives",
|
"polkadot-primitives",
|
||||||
@@ -5722,7 +5723,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-test-client"
|
name = "polkadot-test-client"
|
||||||
version = "0.8.26"
|
version = "0.8.26"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"parity-scale-codec",
|
"parity-scale-codec",
|
||||||
"polkadot-node-subsystem",
|
"polkadot-node-subsystem",
|
||||||
@@ -5746,7 +5747,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-test-runtime"
|
name = "polkadot-test-runtime"
|
||||||
version = "0.8.26"
|
version = "0.8.26"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitvec",
|
"bitvec",
|
||||||
"frame-executive",
|
"frame-executive",
|
||||||
@@ -5800,7 +5801,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-test-service"
|
name = "polkadot-test-service"
|
||||||
version = "0.8.26"
|
version = "0.8.26"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"frame-benchmarking",
|
"frame-benchmarking",
|
||||||
"frame-system",
|
"frame-system",
|
||||||
@@ -5851,7 +5852,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "polkadot-validation"
|
name = "polkadot-validation"
|
||||||
version = "0.8.26"
|
version = "0.8.26"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
"log 0.4.11",
|
"log 0.4.11",
|
||||||
@@ -6594,7 +6595,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "rococo-runtime"
|
name = "rococo-runtime"
|
||||||
version = "0.8.26"
|
version = "0.8.26"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"frame-executive",
|
"frame-executive",
|
||||||
"frame-support",
|
"frame-support",
|
||||||
@@ -8227,7 +8228,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "sp-consensus-aura"
|
name = "sp-consensus-aura"
|
||||||
version = "0.8.0"
|
version = "0.8.0"
|
||||||
source = "git+https://github.com/paritytech/substrate?branch=master#2e7292cd84121db8bcd2317c1ad70e348ee52f7a"
|
source = "git+https://github.com/paritytech/substrate?branch=master#9ec43d880823e9ad082de7e3038ac9777613fa15"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"parity-scale-codec",
|
"parity-scale-codec",
|
||||||
"sp-api",
|
"sp-api",
|
||||||
@@ -8622,7 +8623,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "sp-test-primitives"
|
name = "sp-test-primitives"
|
||||||
version = "2.0.0"
|
version = "2.0.0"
|
||||||
source = "git+https://github.com/paritytech/substrate?branch=master#2e7292cd84121db8bcd2317c1ad70e348ee52f7a"
|
source = "git+https://github.com/paritytech/substrate?branch=master#9ec43d880823e9ad082de7e3038ac9777613fa15"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"parity-scale-codec",
|
"parity-scale-codec",
|
||||||
"parity-util-mem",
|
"parity-util-mem",
|
||||||
@@ -8920,7 +8921,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "substrate-test-runtime"
|
name = "substrate-test-runtime"
|
||||||
version = "2.0.0"
|
version = "2.0.0"
|
||||||
source = "git+https://github.com/paritytech/substrate?branch=master#2e7292cd84121db8bcd2317c1ad70e348ee52f7a"
|
source = "git+https://github.com/paritytech/substrate?branch=master#9ec43d880823e9ad082de7e3038ac9777613fa15"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 0.1.10",
|
"cfg-if 0.1.10",
|
||||||
"frame-executive",
|
"frame-executive",
|
||||||
@@ -8962,7 +8963,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "substrate-test-runtime-client"
|
name = "substrate-test-runtime-client"
|
||||||
version = "2.0.0"
|
version = "2.0.0"
|
||||||
source = "git+https://github.com/paritytech/substrate?branch=master#2e7292cd84121db8bcd2317c1ad70e348ee52f7a"
|
source = "git+https://github.com/paritytech/substrate?branch=master#9ec43d880823e9ad082de7e3038ac9777613fa15"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
"parity-scale-codec",
|
"parity-scale-codec",
|
||||||
@@ -8983,7 +8984,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "substrate-test-utils"
|
name = "substrate-test-utils"
|
||||||
version = "2.0.0"
|
version = "2.0.0"
|
||||||
source = "git+https://github.com/paritytech/substrate?branch=master#2e7292cd84121db8bcd2317c1ad70e348ee52f7a"
|
source = "git+https://github.com/paritytech/substrate?branch=master#9ec43d880823e9ad082de7e3038ac9777613fa15"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures 0.3.7",
|
"futures 0.3.7",
|
||||||
"substrate-test-utils-derive",
|
"substrate-test-utils-derive",
|
||||||
@@ -8993,7 +8994,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "substrate-test-utils-derive"
|
name = "substrate-test-utils-derive"
|
||||||
version = "0.8.0"
|
version = "0.8.0"
|
||||||
source = "git+https://github.com/paritytech/substrate?branch=master#2e7292cd84121db8bcd2317c1ad70e348ee52f7a"
|
source = "git+https://github.com/paritytech/substrate?branch=master#9ec43d880823e9ad082de7e3038ac9777613fa15"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro-crate",
|
"proc-macro-crate",
|
||||||
"quote 1.0.7",
|
"quote 1.0.7",
|
||||||
@@ -9009,7 +9010,7 @@ checksum = "54cab12167e32b38a62c5ea5825aa0874cde315f907a46aad2b05aa8ef3d862f"
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "substrate-wasm-builder-runner"
|
name = "substrate-wasm-builder-runner"
|
||||||
version = "2.0.0"
|
version = "2.0.0"
|
||||||
source = "git+https://github.com/paritytech/substrate?branch=master#2e7292cd84121db8bcd2317c1ad70e348ee52f7a"
|
source = "git+https://github.com/paritytech/substrate?branch=master#9ec43d880823e9ad082de7e3038ac9777613fa15"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "subtle"
|
name = "subtle"
|
||||||
@@ -10189,7 +10190,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "westend-runtime"
|
name = "westend-runtime"
|
||||||
version = "0.8.26"
|
version = "0.8.26"
|
||||||
source = "git+https://github.com/paritytech/polkadot?branch=bkchr-adder-collator-integration-test#11347d4d050f9c405dea096d8de1ed388399bc1f"
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitvec",
|
"bitvec",
|
||||||
"frame-executive",
|
"frame-executive",
|
||||||
@@ -10326,6 +10327,14 @@ dependencies = [
|
|||||||
"zeroize",
|
"zeroize",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "xcm"
|
||||||
|
version = "0.8.22"
|
||||||
|
source = "git+https://github.com/paritytech/polkadot?branch=master#cfde07678a4086b724c6333f8607df92c7fbf92b"
|
||||||
|
dependencies = [
|
||||||
|
"parity-scale-codec",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "yamux"
|
name = "yamux"
|
||||||
version = "0.8.0"
|
version = "0.8.0"
|
||||||
|
|||||||
@@ -19,13 +19,13 @@ sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|||||||
sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
|
|
||||||
# Polkadot dependencies
|
# Polkadot dependencies
|
||||||
polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test", features = [ "real-overseer" ] }
|
polkadot-service = { git = "https://github.com/paritytech/polkadot", features = [ "real-overseer" ] , branch = "master" }
|
||||||
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-validation = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-validation = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-node-primitives = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-node-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-overseer = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-overseer = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-node-subsystem = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-node-subsystem = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
|
|
||||||
# Cumulus dependencies
|
# Cumulus dependencies
|
||||||
cumulus-consensus = { path = "../consensus" }
|
cumulus-consensus = { path = "../consensus" }
|
||||||
@@ -51,7 +51,7 @@ sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "
|
|||||||
substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
|
|
||||||
# Polkadot dependencies
|
# Polkadot dependencies
|
||||||
polkadot-node-subsystem-test-helpers = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-node-subsystem-test-helpers = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
|
|
||||||
# Other dependencies
|
# Other dependencies
|
||||||
env_logger = "0.7.1"
|
env_logger = "0.7.1"
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ use polkadot_node_subsystem::messages::{CollationGenerationMessage, CollatorProt
|
|||||||
use polkadot_overseer::OverseerHandler;
|
use polkadot_overseer::OverseerHandler;
|
||||||
use polkadot_primitives::v1::{
|
use polkadot_primitives::v1::{
|
||||||
Block as PBlock, BlockData, CollatorPair, Hash as PHash, HeadData, Id as ParaId, PoV,
|
Block as PBlock, BlockData, CollatorPair, Hash as PHash, HeadData, Id as ParaId, PoV,
|
||||||
UpwardMessage,
|
UpwardMessage, BlockNumber as PBlockNumber,
|
||||||
};
|
};
|
||||||
use polkadot_service::RuntimeApiCollection;
|
use polkadot_service::RuntimeApiCollection;
|
||||||
|
|
||||||
@@ -215,6 +215,7 @@ where
|
|||||||
&mut self,
|
&mut self,
|
||||||
block: ParachainBlockData<Block>,
|
block: ParachainBlockData<Block>,
|
||||||
block_hash: Block::Hash,
|
block_hash: Block::Hash,
|
||||||
|
relay_block_number: PBlockNumber,
|
||||||
) -> Option<Collation> {
|
) -> Option<Collation> {
|
||||||
let block_data = BlockData(block.encode());
|
let block_data = BlockData(block.encode());
|
||||||
let header = block.into_header();
|
let header = block.into_header();
|
||||||
@@ -248,6 +249,9 @@ where
|
|||||||
proof_of_validity: PoV { block_data },
|
proof_of_validity: PoV { block_data },
|
||||||
// TODO!
|
// TODO!
|
||||||
processed_downward_messages: 0,
|
processed_downward_messages: 0,
|
||||||
|
// TODO!
|
||||||
|
horizontal_messages: Vec::new(),
|
||||||
|
hrmp_watermark: relay_block_number,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -360,7 +364,7 @@ where
|
|||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
|
||||||
let collation = self.build_collation(b, block_hash)?;
|
let collation = self.build_collation(b, block_hash, validation_data.persisted.block_number)?;
|
||||||
let pov_hash = collation.proof_of_validity.hash();
|
let pov_hash = collation.proof_of_validity.hash();
|
||||||
|
|
||||||
self.wait_to_announce
|
self.wait_to_announce
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|||||||
substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
|
|
||||||
# polkadot deps
|
# polkadot deps
|
||||||
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-runtime = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-runtime = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
|
|
||||||
# other deps
|
# other deps
|
||||||
futures = { version = "0.3.1", features = ["compat"] }
|
futures = { version = "0.3.1", features = ["compat"] }
|
||||||
|
|||||||
@@ -15,13 +15,13 @@ sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|||||||
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
|
|
||||||
# polkadot deps
|
# polkadot deps
|
||||||
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-statement-table = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-statement-table = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-validation = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-validation = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-overseer = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-overseer = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-node-primitives = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-node-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-node-subsystem = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-node-subsystem = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
|
|
||||||
# cumulus deps
|
# cumulus deps
|
||||||
cumulus-primitives = { path = "../primitives" }
|
cumulus-primitives = { path = "../primitives" }
|
||||||
|
|||||||
@@ -21,9 +21,9 @@ use polkadot_node_primitives::{SignedFullStatement, Statement};
|
|||||||
use polkadot_primitives::v1::{
|
use polkadot_primitives::v1::{
|
||||||
AuthorityDiscoveryId, Block as PBlock, BlockNumber, CandidateCommitments, CandidateDescriptor,
|
AuthorityDiscoveryId, Block as PBlock, BlockNumber, CandidateCommitments, CandidateDescriptor,
|
||||||
CandidateEvent, CommittedCandidateReceipt, CoreState, GroupRotationInfo, Hash as PHash,
|
CandidateEvent, CommittedCandidateReceipt, CoreState, GroupRotationInfo, Hash as PHash,
|
||||||
HeadData, Header as PHeader, Id as ParaId, OccupiedCoreAssumption, ParachainHost,
|
HeadData, Header as PHeader, Id as ParaId, InboundDownwardMessage, InboundHrmpMessage,
|
||||||
PersistedValidationData, SessionIndex, SigningContext, ValidationCode, ValidationData,
|
OccupiedCoreAssumption, ParachainHost, PersistedValidationData, SessionIndex, SigningContext,
|
||||||
ValidationOutputs, ValidatorId, ValidatorIndex, InboundDownwardMessage,
|
ValidationCode, ValidationData, ValidationOutputs, ValidatorId, ValidatorIndex,
|
||||||
};
|
};
|
||||||
use sp_api::{ApiRef, ProvideRuntimeApi};
|
use sp_api::{ApiRef, ProvideRuntimeApi};
|
||||||
use sp_blockchain::{Error as ClientError, HeaderBackend};
|
use sp_blockchain::{Error as ClientError, HeaderBackend};
|
||||||
@@ -35,6 +35,7 @@ use sp_runtime::{
|
|||||||
traits::{NumberFor, Zero},
|
traits::{NumberFor, Zero},
|
||||||
RuntimeAppPublic,
|
RuntimeAppPublic,
|
||||||
};
|
};
|
||||||
|
use std::collections::BTreeMap;
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
struct DummyCollatorNetwork;
|
struct DummyCollatorNetwork;
|
||||||
@@ -407,6 +408,12 @@ sp_api::mock_impl_runtime_apis! {
|
|||||||
fn historical_validation_code(_: ParaId, _: BlockNumber) -> Option<ValidationCode> {
|
fn historical_validation_code(_: ParaId, _: BlockNumber) -> Option<ValidationCode> {
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn inbound_hrmp_channels_contents(
|
||||||
|
_: ParaId,
|
||||||
|
) -> BTreeMap<ParaId, Vec<InboundHrmpMessage<BlockNumber>>> {
|
||||||
|
BTreeMap::new()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ cumulus-primitives = { path = "../primitives", default-features = false }
|
|||||||
cumulus-runtime = { path = "../runtime", default-features = false }
|
cumulus-runtime = { path = "../runtime", default-features = false }
|
||||||
|
|
||||||
# Polkadot dependencies
|
# Polkadot dependencies
|
||||||
parachain = { package = "polkadot-parachain", git = "https://github.com/paritytech/polkadot", default-features = false , branch = "bkchr-adder-collator-integration-test" }
|
parachain = { package = "polkadot-parachain", git = "https://github.com/paritytech/polkadot", default-features = false , branch = "master" }
|
||||||
|
|
||||||
# Substrate dependencies
|
# Substrate dependencies
|
||||||
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
||||||
|
|||||||
@@ -12,15 +12,15 @@ sp-runtime = { git = "https://github.com/paritytech/substrate", default-features
|
|||||||
sc-chain-spec = { git = "https://github.com/paritytech/substrate", optional = true, branch = "master" }
|
sc-chain-spec = { git = "https://github.com/paritytech/substrate", optional = true, branch = "master" }
|
||||||
|
|
||||||
# Polkadot dependencies
|
# Polkadot dependencies
|
||||||
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "bkchr-adder-collator-integration-test" }
|
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
|
||||||
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "bkchr-adder-collator-integration-test" }
|
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
|
||||||
|
|
||||||
# Other dependencies
|
# Other dependencies
|
||||||
codec = { package = "parity-scale-codec", version = "1.0.5", default-features = false, features = [ "derive" ] }
|
codec = { package = "parity-scale-codec", version = "1.0.5", default-features = false, features = [ "derive" ] }
|
||||||
impl-trait-for-tuples = "0.1.3"
|
impl-trait-for-tuples = "0.1.3"
|
||||||
|
|
||||||
# Polkadot dependencies
|
# Polkadot dependencies
|
||||||
polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "bkchr-adder-collator-integration-test" }
|
polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "master" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = [ "std" ]
|
default = [ "std" ]
|
||||||
|
|||||||
@@ -62,11 +62,11 @@ cumulus-primitives = { path = "../primitives" }
|
|||||||
cumulus-service = { path = "../service" }
|
cumulus-service = { path = "../service" }
|
||||||
|
|
||||||
# Polkadot dependencies
|
# Polkadot dependencies
|
||||||
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
@@ -78,10 +78,10 @@ rand = "0.7.3"
|
|||||||
tokio = { version = "0.2.13", features = ["macros"] }
|
tokio = { version = "0.2.13", features = ["macros"] }
|
||||||
|
|
||||||
# Polkadot dependencies
|
# Polkadot dependencies
|
||||||
polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-test-runtime = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-test-runtime = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-test-client = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-test-client = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
|
|
||||||
# Substrate dependencies
|
# Substrate dependencies
|
||||||
pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ cumulus-parachain-upgrade = { path = "../../parachain-upgrade", default-features
|
|||||||
cumulus-primitives = { path = "../../primitives", default-features = false }
|
cumulus-primitives = { path = "../../primitives", default-features = false }
|
||||||
|
|
||||||
# Polkadot dependencies
|
# Polkadot dependencies
|
||||||
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "bkchr-adder-collator-integration-test" }
|
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "master" }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "2.0.0" }
|
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "2.0.0" }
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ frame-executive = { git = "https://github.com/paritytech/substrate", default-fea
|
|||||||
sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
||||||
|
|
||||||
# Polkadot dependencies
|
# Polkadot dependencies
|
||||||
parachain = { package = "polkadot-parachain", git = "https://github.com/paritytech/polkadot", default-features = false, features = [ "wasm-api" ] , branch = "bkchr-adder-collator-integration-test" }
|
parachain = { package = "polkadot-parachain", git = "https://github.com/paritytech/polkadot", default-features = false, features = [ "wasm-api" ] , branch = "master" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
sc-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
sc-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
||||||
|
|||||||
@@ -161,11 +161,20 @@ pub fn validate_block<B: BlockT, E: ExecuteBlock<B>>(params: ValidationParams) -
|
|||||||
.and_then(|v| Decode::decode(&mut &v[..]).ok())
|
.and_then(|v| Decode::decode(&mut &v[..]).ok())
|
||||||
.unwrap_or_default();
|
.unwrap_or_default();
|
||||||
|
|
||||||
|
let validation_data: ValidationData =
|
||||||
|
with_storage(|storage| storage.modified(VALIDATION_DATA))
|
||||||
|
.and_then(|v| Decode::decode(&mut &v[..]).ok())
|
||||||
|
.expect("`ValidationData` is required to be placed into the storage!");
|
||||||
|
|
||||||
ValidationResult {
|
ValidationResult {
|
||||||
head_data,
|
head_data,
|
||||||
new_validation_code,
|
new_validation_code,
|
||||||
upward_messages,
|
upward_messages,
|
||||||
processed_downward_messages,
|
processed_downward_messages,
|
||||||
|
//TODO!
|
||||||
|
horizontal_messages: Vec::new(),
|
||||||
|
//TODO!
|
||||||
|
hrmp_watermark: validation_data.persisted.block_number,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,9 +21,9 @@ sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "mast
|
|||||||
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
|
|
||||||
# Polkadot dependencies
|
# Polkadot dependencies
|
||||||
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-overseer = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-overseer = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
|
|
||||||
# Other deps
|
# Other deps
|
||||||
futures = "0.3.6"
|
futures = "0.3.6"
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ cumulus-test-service = { path = "../service" }
|
|||||||
cumulus-primitives = { path = "../../primitives" }
|
cumulus-primitives = { path = "../../primitives" }
|
||||||
|
|
||||||
# Polkadot deps
|
# Polkadot deps
|
||||||
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
|
|
||||||
# Other deps
|
# Other deps
|
||||||
codec = { package = "parity-scale-codec", version = "1.0.5", default-features = false, features = [ "derive" ] }
|
codec = { package = "parity-scale-codec", version = "1.0.5", default-features = false, features = [ "derive" ] }
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ cumulus-primitives = { path = "../../primitives", default-features = false }
|
|||||||
cumulus-runtime = { path = "../../runtime", default-features = false }
|
cumulus-runtime = { path = "../../runtime", default-features = false }
|
||||||
|
|
||||||
# Polkadot dependencies
|
# Polkadot dependencies
|
||||||
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "bkchr-adder-collator-integration-test" }
|
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "master" }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "2.0.0" }
|
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "2.0.0" }
|
||||||
|
|||||||
@@ -36,10 +36,10 @@ sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|||||||
substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
|
|
||||||
# Polkadot
|
# Polkadot
|
||||||
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-overseer = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-overseer = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
|
|
||||||
# Cumulus
|
# Cumulus
|
||||||
cumulus-consensus = { path = "../../consensus" }
|
cumulus-consensus = { path = "../../consensus" }
|
||||||
@@ -56,8 +56,8 @@ futures = { version = "0.3.5" }
|
|||||||
tokio = { version = "0.2.21", features = ["macros"] }
|
tokio = { version = "0.2.21", features = ["macros"] }
|
||||||
|
|
||||||
# Polkadot dependencies
|
# Polkadot dependencies
|
||||||
polkadot-test-runtime = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-test-runtime = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch = "bkchr-adder-collator-integration-test" }
|
polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||||
|
|
||||||
# Substrate dependencies
|
# Substrate dependencies
|
||||||
pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
|
|||||||
Reference in New Issue
Block a user