Add Bridge Header Sync to Rococo Runtime (#2983)

* Add bridges code to workspace

* Add Rococo and Wococo bridge instances to Rococo runtime

* Add Rococo and Wococo runtime APIs

* Add GenesisConfig parameters for bridge pallet

* Update Rococo spec_version used by bridge relayer

* Add scripts for running Rococo and Wococo dev nodes

* Add scripts for running Rococo<>Wococo header sync

* Apply patch for build artifact location

* Remove bridges crates from workspace

* Downgrade async related dependencies

* Change bridge pallet owner to be `root_key`

* Bump number of `MaxRequests` allowed

* Revert changes in `bridges` subtree folder

* Use correct account for Sudo

* Add comment explaining duplicate bridge pallets

* Remove WeightInfo comment.

Co-authored-by: Tomasz Drwięga <tomasz@parity.io>
This commit is contained in:
Hernando Castano
2021-05-13 11:09:17 -04:00
committed by GitHub
parent 87264b7b0b
commit 9507266960
5 changed files with 111 additions and 29 deletions
+26 -23
View File
@@ -704,17 +704,6 @@ dependencies = [
"sp-std",
]
[[package]]
name = "bp-kusama"
version = "0.1.0"
dependencies = [
"bp-messages",
"bp-polkadot-core",
"bp-runtime",
"sp-api",
"sp-std",
]
[[package]]
name = "bp-messages"
version = "0.1.0"
@@ -726,17 +715,6 @@ dependencies = [
"sp-std",
]
[[package]]
name = "bp-polkadot"
version = "0.1.0"
dependencies = [
"bp-messages",
"bp-polkadot-core",
"bp-runtime",
"sp-api",
"sp-std",
]
[[package]]
name = "bp-polkadot-core"
version = "0.1.0"
@@ -800,7 +778,7 @@ dependencies = [
]
[[package]]
name = "bp-westend"
name = "bp-wococo"
version = "0.1.0"
dependencies = [
"bp-header-chain",
@@ -4561,6 +4539,28 @@ dependencies = [
"sp-std",
]
[[package]]
name = "pallet-bridge-grandpa"
version = "0.1.0"
dependencies = [
"bp-header-chain",
"bp-runtime",
"bp-test-utils",
"finality-grandpa",
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
"num-traits",
"parity-scale-codec",
"serde",
"sp-finality-grandpa",
"sp-io",
"sp-runtime",
"sp-std",
"sp-trie",
]
[[package]]
name = "pallet-collective"
version = "3.0.0"
@@ -7417,6 +7417,8 @@ name = "rococo-runtime"
version = "0.9.1"
dependencies = [
"beefy-primitives",
"bp-rococo",
"bp-wococo",
"frame-executive",
"frame-support",
"frame-system",
@@ -7428,6 +7430,7 @@ dependencies = [
"pallet-babe",
"pallet-balances",
"pallet-beefy",
"pallet-bridge-grandpa",
"pallet-collective",
"pallet-grandpa",
"pallet-im-online",