This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 371
BridgeHubKusama - initial setup - (chain_spec + basic runtime without any bridging pallets) #1764
Merged
Merged
Changes from 6 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
56beecc
[BridgeHub] Setup Rococo backbone parachain
bkontur 7ed6d06
[BridgeHub] Setup Wococo parachain backbone (reused from Rococo)
bkontur 4420a0b
[BridgeHub] Added chain_spec for live Rococo/Wococo
bkontur 84ce2fa
[BridgeHub] Clean bridge-hub-rococo runtime
bkontur 384e65e
[BridgeHub] Add bridge-hub-rococo to CI pipelines
bkontur 3d29c5a
[BridgeHub] Added bridge-hub-kusama - empty runtime/chain_spec setup
bkontur 2b4d48d
Merge remote-tracking branch 'origin/master' into bko-bridges-setup
bkontur 7ca535b
Fixes
bkontur eb1d7c2
Fixes for BH
bkontur 4cc4216
Fixes for other runtimes - align all
bkontur 1821bc9
Fixes - const
bkontur 5475227
Fixes const
bkontur 4210b39
Fixes
bkontur afc6caf
Fix kusama-local
bkontur 601abfe
Sample zombienet runs
bkontur efb79b2
Merge remote-tracking branch 'origin/master' into bko-bridges-setup
bkontur 53dc6a0
Fixes
bkontur c5bf12e
Fixes for benchmarking
bkontur fe88ad0
Fixes CI
bkontur 6ccdbf8
Fixes
bkontur 4bb3eff
".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs fra…
93ca6e2
".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pal…
9c608dc
".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pal…
f22b102
".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pal…
eb7659d
Fixes name
bkontur 08017fb
Fixes readme
bkontur d66e46f
".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pal…
e090afb
".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs cum…
e52641c
".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pal…
a700450
Merge remote-tracking branch 'origin/master' into bko-bridges-setup
bkontur 30f6691
Merge remote-tracking branch 'origin/master' into bko-bridges-setup
bkontur b7b45a9
Fixes
bkontur eb54ade
Fixes
bkontur d1e2e6d
rustfmt
bkontur 95093ab
Fixes
bkontur 8a59829
Added pallet_utility/pallet_multisig
bkontur 495a06d
Blind try for regex pr-custom-review.yml (added bridge-hub-kusama + c…
bkontur 670b3e3
Fixes
bkontur 64e53a3
Fixes
bkontur 922b3cd
".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pal…
2e11cbd
Merge branch 'master' of https://github.com/paritytech/cumulus into HEAD
a1bd1dc
".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pal…
fc86117
Trying to fix sed expression?
bkontur 8ddb5e6
Merge remote-tracking branch 'origin/master' into bko-bridges-setup
bkontur 32a951a
Added license headers + correct "DAG:" desc
bkontur 081bf26
Merge remote-tracking branch 'origin/master' into bko-bridges-setup
bkontur File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| TODO: setup |
144 changes: 144 additions & 0 deletions
144
parachains/runtimes/bridge-hubs/bridge-hub-kusama/Cargo.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,144 @@ | ||
| [package] | ||
| name = "bridge-hub-kusama-runtime" | ||
| version = "0.1.0" | ||
| authors = ["Parity Technologies <[email protected]>"] | ||
| edition = "2021" | ||
| description = "Kusama's BridgeHub parachain runtime" | ||
|
|
||
| [build-dependencies] | ||
| substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
|
|
||
| [dependencies] | ||
| codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } | ||
| hex-literal = { version = "0.3.4", optional = true } | ||
| log = { version = "0.4.17", default-features = false } | ||
| scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } | ||
| serde = { version = "1.0.137", optional = true, features = ["derive"] } | ||
| smallvec = "1.8.1" | ||
|
|
||
| # Substrate | ||
| frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "master" } | ||
| frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "master" } | ||
| frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "master" } | ||
| pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
| sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } | ||
|
|
||
| # Polkadot | ||
| kusama-runtime-constants = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } | ||
| pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } | ||
| polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } | ||
| polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } | ||
| polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } | ||
| xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } | ||
| xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } | ||
| xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } | ||
|
|
||
| # Cumulus | ||
| cumulus-pallet-aura-ext = { path = "../../../../pallets/aura-ext", default-features = false } | ||
| cumulus-pallet-dmp-queue = { path = "../../../../pallets/dmp-queue", default-features = false } | ||
| cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false } | ||
| cumulus-pallet-session-benchmarking = {path = "../../../../pallets/session-benchmarking", default-features = false, version = "3.0.0"} | ||
| cumulus-pallet-xcm = { path = "../../../../pallets/xcm", default-features = false } | ||
| cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-features = false } | ||
| cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } | ||
| cumulus-primitives-timestamp = { path = "../../../../primitives/timestamp", default-features = false } | ||
| cumulus-primitives-utility = { path = "../../../../primitives/utility", default-features = false } | ||
| pallet-collator-selection = { path = "../../../../pallets/collator-selection", default-features = false } | ||
| parachain-info = { path = "../../../../parachains/pallets/parachain-info", default-features = false } | ||
| parachains-common = { path = "../../../../parachains/common", default-features = false } | ||
|
|
||
| [features] | ||
| default = [ | ||
| "std", | ||
| ] | ||
| std = [ | ||
| "codec/std", | ||
| "log/std", | ||
| "scale-info/std", | ||
| "serde", | ||
| "cumulus-pallet-aura-ext/std", | ||
| "cumulus-pallet-dmp-queue/std", | ||
| "cumulus-pallet-parachain-system/std", | ||
| "cumulus-pallet-xcm/std", | ||
| "cumulus-pallet-xcmp-queue/std", | ||
| "cumulus-primitives-core/std", | ||
| "cumulus-primitives-timestamp/std", | ||
| "cumulus-primitives-utility/std", | ||
| "frame-executive/std", | ||
| "frame-support/std", | ||
| "frame-system-rpc-runtime-api/std", | ||
| "frame-system/std", | ||
| "kusama-runtime-constants/std", | ||
| "pallet-aura/std", | ||
| "pallet-authorship/std", | ||
| "pallet-balances/std", | ||
| "pallet-collator-selection/std", | ||
| "pallet-session/std", | ||
| "pallet-sudo/std", | ||
| "pallet-timestamp/std", | ||
| "pallet-transaction-payment-rpc-runtime-api/std", | ||
| "pallet-transaction-payment/std", | ||
| "pallet-xcm/std", | ||
| "parachain-info/std", | ||
| "polkadot-core-primitives/std", | ||
| "polkadot-parachain/std", | ||
| "polkadot-runtime-common/std", | ||
| "sp-api/std", | ||
| "sp-block-builder/std", | ||
| "sp-consensus-aura/std", | ||
| "sp-core/std", | ||
| "sp-inherents/std", | ||
| "sp-io/std", | ||
| "sp-offchain/std", | ||
| "sp-runtime/std", | ||
| "sp-session/std", | ||
| "sp-std/std", | ||
| "sp-transaction-pool/std", | ||
| "sp-version/std", | ||
| "xcm-builder/std", | ||
| "xcm-executor/std", | ||
| "xcm/std", | ||
| ] | ||
|
|
||
| runtime-benchmarks = [ | ||
| "hex-literal", | ||
| "frame-benchmarking/runtime-benchmarks", | ||
| "frame-support/runtime-benchmarks", | ||
| "frame-system-benchmarking", | ||
| "frame-system/runtime-benchmarks", | ||
| "pallet-balances/runtime-benchmarks", | ||
| "pallet-collator-selection/runtime-benchmarks", | ||
| "pallet-timestamp/runtime-benchmarks", | ||
| "pallet-xcm/runtime-benchmarks", | ||
| "sp-runtime/runtime-benchmarks", | ||
| "xcm-builder/runtime-benchmarks", | ||
| "cumulus-pallet-session-benchmarking/runtime-benchmarks", | ||
| "cumulus-pallet-xcmp-queue/runtime-benchmarks", | ||
| ] | ||
|
|
||
| try-runtime = [ | ||
| "frame-executive/try-runtime", | ||
| "frame-try-runtime", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| use substrate_wasm_builder::WasmBuilder; | ||
|
|
||
| fn main() { | ||
| WasmBuilder::new() | ||
| .with_current_project() | ||
| .export_heap_base() | ||
| .import_memory() | ||
| .build() | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.