Skip to content

Commit

Permalink
Removes Snowbridge parachain directory (#3186)
Browse files Browse the repository at this point in the history
Removes the `bridges/snowbridge/parachain` directory and moves
everything up to under `snowbridge` directly. We are cleaning up our
local dev env after merging our crates into the polkadot-sdk.

---------

Co-authored-by: claravanstaden <Cats 4 life!>
  • Loading branch information
claravanstaden authored Feb 2, 2024
1 parent 700d5f8 commit 2ab3f03
Show file tree
Hide file tree
Showing 122 changed files with 199 additions and 529 deletions.
30 changes: 15 additions & 15 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,21 @@ members = [
"bridges/primitives/test-utils",
"bridges/primitives/xcm-bridge-hub",
"bridges/primitives/xcm-bridge-hub-router",
"bridges/snowbridge/parachain/pallets/ethereum-client",
"bridges/snowbridge/parachain/pallets/ethereum-client/fixtures",
"bridges/snowbridge/parachain/pallets/inbound-queue",
"bridges/snowbridge/parachain/pallets/inbound-queue/fixtures",
"bridges/snowbridge/parachain/pallets/outbound-queue",
"bridges/snowbridge/parachain/pallets/outbound-queue/merkle-tree",
"bridges/snowbridge/parachain/pallets/outbound-queue/runtime-api",
"bridges/snowbridge/parachain/pallets/system",
"bridges/snowbridge/parachain/pallets/system/runtime-api",
"bridges/snowbridge/parachain/primitives/beacon",
"bridges/snowbridge/parachain/primitives/core",
"bridges/snowbridge/parachain/primitives/ethereum",
"bridges/snowbridge/parachain/primitives/router",
"bridges/snowbridge/parachain/runtime/runtime-common",
"bridges/snowbridge/parachain/runtime/test-common",
"bridges/snowbridge/pallets/ethereum-client",
"bridges/snowbridge/pallets/ethereum-client/fixtures",
"bridges/snowbridge/pallets/inbound-queue",
"bridges/snowbridge/pallets/inbound-queue/fixtures",
"bridges/snowbridge/pallets/outbound-queue",
"bridges/snowbridge/pallets/outbound-queue/merkle-tree",
"bridges/snowbridge/pallets/outbound-queue/runtime-api",
"bridges/snowbridge/pallets/system",
"bridges/snowbridge/pallets/system/runtime-api",
"bridges/snowbridge/primitives/beacon",
"bridges/snowbridge/primitives/core",
"bridges/snowbridge/primitives/ethereum",
"bridges/snowbridge/primitives/router",
"bridges/snowbridge/runtime/runtime-common",
"bridges/snowbridge/runtime/test-common",
"cumulus/client/cli",
"cumulus/client/collator",
"cumulus/client/consensus/aura",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,30 +26,30 @@ rlp = { version = "0.5.2", default-features = false }
hex-literal = { version = "0.4.1", optional = true }
log = { version = "0.4.20", default-features = false }

frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true }
frame-support = { path = "../../../../../substrate/frame/support", default-features = false }
frame-system = { path = "../../../../../substrate/frame/system", default-features = false }
sp-core = { path = "../../../../../substrate/primitives/core", default-features = false }
sp-std = { path = "../../../../../substrate/primitives/std", default-features = false }
sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-features = false }
sp-io = { path = "../../../../../substrate/primitives/io", default-features = false, optional = true }
frame-benchmarking = { path = "../../../../substrate/frame/benchmarking", default-features = false, optional = true }
frame-support = { path = "../../../../substrate/frame/support", default-features = false }
frame-system = { path = "../../../../substrate/frame/system", default-features = false }
sp-core = { path = "../../../../substrate/primitives/core", default-features = false }
sp-std = { path = "../../../../substrate/primitives/std", default-features = false }
sp-runtime = { path = "../../../../substrate/primitives/runtime", default-features = false }
sp-io = { path = "../../../../substrate/primitives/io", default-features = false, optional = true }

snowbridge-core = { path = "../../primitives/core", default-features = false }
snowbridge-ethereum = { path = "../../primitives/ethereum", default-features = false }
snowbridge-pallet-ethereum-client-fixtures = { path = "./fixtures", default-features = false, optional = true }
primitives = { package = "snowbridge-beacon-primitives", path = "../../primitives/beacon", default-features = false }
static_assertions = { version = "1.1.0", default-features = false }
bp-runtime = { path = "../../../../primitives/runtime", default-features = false }
pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false, optional = true }
bp-runtime = { path = "../../../primitives/runtime", default-features = false }
pallet-timestamp = { path = "../../../../substrate/frame/timestamp", default-features = false, optional = true }

[dev-dependencies]
rand = "0.8.5"
sp-keyring = { path = "../../../../../substrate/primitives/keyring" }
sp-keyring = { path = "../../../../substrate/primitives/keyring" }
serde_json = "1.0.111"
hex-literal = "0.4.1"
pallet-timestamp = { path = "../../../../../substrate/frame/timestamp" }
pallet-timestamp = { path = "../../../../substrate/frame/timestamp" }
snowbridge-pallet-ethereum-client-fixtures = { path = "./fixtures" }
sp-io = { path = "../../../../../substrate/primitives/io" }
sp-io = { path = "../../../../substrate/primitives/io" }
serde = "1.0.195"

[features]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
hex-literal = { version = "0.4.1" }
sp-core = { path = "../../../../../../substrate/primitives/core", default-features = false }
sp-std = { path = "../../../../../../substrate/primitives/std", default-features = false }
frame-benchmarking = { path = "../../../../../../substrate/frame/benchmarking", default-features = false, optional = true }
frame-support = { path = "../../../../../../substrate/frame/support", default-features = false }
frame-system = { path = "../../../../../../substrate/frame/system", default-features = false }
sp-core = { path = "../../../../../substrate/primitives/core", default-features = false }
sp-std = { path = "../../../../../substrate/primitives/std", default-features = false }
frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true }
frame-support = { path = "../../../../../substrate/frame/support", default-features = false }
frame-system = { path = "../../../../../substrate/frame/system", default-features = false }
snowbridge-core = { path = "../../../primitives/core", default-features = false }
snowbridge-beacon-primitives = { path = "../../../primitives/beacon", default-features = false }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ alloy-sol-types = { version = "0.4.2", default-features = false }
alloy-rlp = { version = "0.3.3", default-features = false, features = ["derive"] }
num-traits = { version = "0.2.16", default-features = false }

frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true }
frame-support = { path = "../../../../../substrate/frame/support", default-features = false }
frame-system = { path = "../../../../../substrate/frame/system", default-features = false }
pallet-balances = { path = "../../../../../substrate/frame/balances", default-features = false }
sp-core = { path = "../../../../../substrate/primitives/core", default-features = false }
sp-std = { path = "../../../../../substrate/primitives/std", default-features = false }
sp-io = { path = "../../../../../substrate/primitives/io", default-features = false }
sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-features = false }
frame-benchmarking = { path = "../../../../substrate/frame/benchmarking", default-features = false, optional = true }
frame-support = { path = "../../../../substrate/frame/support", default-features = false }
frame-system = { path = "../../../../substrate/frame/system", default-features = false }
pallet-balances = { path = "../../../../substrate/frame/balances", default-features = false }
sp-core = { path = "../../../../substrate/primitives/core", default-features = false }
sp-std = { path = "../../../../substrate/primitives/std", default-features = false }
sp-io = { path = "../../../../substrate/primitives/io", default-features = false }
sp-runtime = { path = "../../../../substrate/primitives/runtime", default-features = false }

xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false }
xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false }
xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false }
xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-features = false }
xcm-builder = { package = "staging-xcm-builder", path = "../../../../polkadot/xcm/xcm-builder", default-features = false }
xcm-executor = { package = "staging-xcm-executor", path = "../../../../polkadot/xcm/xcm-executor", default-features = false }

snowbridge-core = { path = "../../primitives/core", default-features = false }
snowbridge-ethereum = { path = "../../primitives/ethereum", default-features = false }
Expand All @@ -45,8 +45,8 @@ snowbridge-beacon-primitives = { path = "../../primitives/beacon", default-featu
snowbridge-pallet-inbound-queue-fixtures = { path = "./fixtures", default-features = false, optional = true }

[dev-dependencies]
frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking" }
sp-keyring = { path = "../../../../../substrate/primitives/keyring" }
frame-benchmarking = { path = "../../../../substrate/frame/benchmarking" }
sp-keyring = { path = "../../../../substrate/primitives/keyring" }
snowbridge-pallet-ethereum-client = { path = "../ethereum-client" }
hex-literal = { version = "0.4.1" }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
hex-literal = { version = "0.4.1" }
sp-core = { path = "../../../../../../substrate/primitives/core", default-features = false }
sp-std = { path = "../../../../../../substrate/primitives/std", default-features = false }
frame-benchmarking = { path = "../../../../../../substrate/frame/benchmarking", default-features = false, optional = true }
frame-support = { path = "../../../../../../substrate/frame/support", default-features = false }
frame-system = { path = "../../../../../../substrate/frame/system", default-features = false }
sp-core = { path = "../../../../../substrate/primitives/core", default-features = false }
sp-std = { path = "../../../../../substrate/primitives/std", default-features = false }
frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true }
frame-support = { path = "../../../../../substrate/frame/support", default-features = false }
frame-system = { path = "../../../../../substrate/frame/system", default-features = false }
snowbridge-core = { path = "../../../primitives/core", default-features = false }
snowbridge-beacon-primitives = { path = "../../../primitives/beacon", default-features = false }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,26 @@ codec = { version = "3.6.1", package = "parity-scale-codec", default-features =
scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }
hex-literal = { version = "0.4.1", optional = true }

frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true }
frame-support = { path = "../../../../../substrate/frame/support", default-features = false }
frame-system = { path = "../../../../../substrate/frame/system", default-features = false }
sp-core = { path = "../../../../../substrate/primitives/core", default-features = false }
sp-std = { path = "../../../../../substrate/primitives/std", default-features = false }
sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-features = false }
sp-io = { path = "../../../../../substrate/primitives/io", default-features = false }
sp-arithmetic = { path = "../../../../../substrate/primitives/arithmetic", default-features = false }
frame-benchmarking = { path = "../../../../substrate/frame/benchmarking", default-features = false, optional = true }
frame-support = { path = "../../../../substrate/frame/support", default-features = false }
frame-system = { path = "../../../../substrate/frame/system", default-features = false }
sp-core = { path = "../../../../substrate/primitives/core", default-features = false }
sp-std = { path = "../../../../substrate/primitives/std", default-features = false }
sp-runtime = { path = "../../../../substrate/primitives/runtime", default-features = false }
sp-io = { path = "../../../../substrate/primitives/io", default-features = false }
sp-arithmetic = { path = "../../../../substrate/primitives/arithmetic", default-features = false }

bridge-hub-common = { path = "../../../../../cumulus/parachains/runtimes/bridge-hubs/common", default-features = false }
bridge-hub-common = { path = "../../../../cumulus/parachains/runtimes/bridge-hubs/common", default-features = false }

snowbridge-core = { path = "../../primitives/core", default-features = false, features = ["serde"] }
snowbridge-outbound-queue-merkle-tree = { path = "merkle-tree", default-features = false }
ethabi = { package = "ethabi-decode", version = "1.0.0", default-features = false }

xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false }
xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-features = false }

[dev-dependencies]
pallet-message-queue = { path = "../../../../../substrate/frame/message-queue", default-features = false }
sp-keyring = { path = "../../../../../substrate/primitives/keyring" }
pallet-message-queue = { path = "../../../../substrate/frame/message-queue", default-features = false }
sp-keyring = { path = "../../../../substrate/primitives/keyring" }
hex-literal = { version = "0.4.1" }

[features]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { version = "3.1.5", package = "parity-scale-codec", default-features = false, features = ["derive"] }
scale-info = { version = "2.7.0", default-features = false, features = ["derive"] }

sp-core = { path = "../../../../../../substrate/primitives/core", default-features = false }
sp-runtime = { path = "../../../../../../substrate/primitives/runtime", default-features = false }
sp-core = { path = "../../../../../substrate/primitives/core", default-features = false }
sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-features = false }

[dev-dependencies]
hex-literal = { version = "0.4.1" }
env_logger = "0.9"
hex = "0.4"
array-bytes = "4.1"
sp-crypto-hashing = { path = "../../../../../../substrate/primitives/crypto/hashing" }
sp-crypto-hashing = { path = "../../../../../substrate/primitives/crypto/hashing" }

[features]
default = ["std"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { version = "3.1.5", package = "parity-scale-codec", features = ["derive"], default-features = false }
sp-core = { path = "../../../../../../substrate/primitives/core", default-features = false }
sp-std = { path = "../../../../../../substrate/primitives/std", default-features = false }
sp-api = { path = "../../../../../../substrate/primitives/api", default-features = false }
frame-support = { path = "../../../../../../substrate/frame/support", default-features = false }
xcm = { package = "staging-xcm", path = "../../../../../../polkadot/xcm", default-features = false }
sp-core = { path = "../../../../../substrate/primitives/core", default-features = false }
sp-std = { path = "../../../../../substrate/primitives/std", default-features = false }
sp-api = { path = "../../../../../substrate/primitives/api", default-features = false }
frame-support = { path = "../../../../../substrate/frame/support", default-features = false }
xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false }
snowbridge-outbound-queue-merkle-tree = { path = "../merkle-tree", default-features = false }
snowbridge-core = { path = "../../../primitives/core", default-features = false }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,30 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
"derive",
] }
scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true }
frame-support = { path = "../../../../../substrate/frame/support", default-features = false }
frame-system = { path = "../../../../../substrate/frame/system", default-features = false }
frame-benchmarking = { path = "../../../../substrate/frame/benchmarking", default-features = false, optional = true }
frame-support = { path = "../../../../substrate/frame/support", default-features = false }
frame-system = { path = "../../../../substrate/frame/system", default-features = false }
log = { version = "0.4.20", default-features = false }

sp-core = { path = "../../../../../substrate/primitives/core", default-features = false }
sp-std = { path = "../../../../../substrate/primitives/std", default-features = false }
sp-io = { path = "../../../../../substrate/primitives/io", default-features = false }
sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-features = false }
sp-core = { path = "../../../../substrate/primitives/core", default-features = false }
sp-std = { path = "../../../../substrate/primitives/std", default-features = false }
sp-io = { path = "../../../../substrate/primitives/io", default-features = false }
sp-runtime = { path = "../../../../substrate/primitives/runtime", default-features = false }

xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false }
xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false }
xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false }
xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-features = false }
xcm-builder = { package = "staging-xcm-builder", path = "../../../../polkadot/xcm/xcm-builder", default-features = false }
xcm-executor = { package = "staging-xcm-executor", path = "../../../../polkadot/xcm/xcm-executor", default-features = false }

ethabi = { package = "ethabi-decode", version = "1.0.0", default-features = false }
snowbridge-core = { path = "../../primitives/core", default-features = false }

[dev-dependencies]
hex = "0.4.1"
hex-literal = { version = "0.4.1" }
pallet-balances = { path = "../../../../../substrate/frame/balances" }
sp-keyring = { path = "../../../../../substrate/primitives/keyring" }
polkadot-primitives = { path = "../../../../../polkadot/primitives" }
pallet-message-queue = { path = "../../../../../substrate/frame/message-queue" }
pallet-balances = { path = "../../../../substrate/frame/balances" }
sp-keyring = { path = "../../../../substrate/primitives/keyring" }
polkadot-primitives = { path = "../../../../polkadot/primitives" }
pallet-message-queue = { path = "../../../../substrate/frame/message-queue" }
snowbridge-pallet-outbound-queue = { path = "../outbound-queue" }

[features]
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
"derive",
] }
sp-core = { path = "../../../../../../substrate/primitives/core", default-features = false }
sp-std = { path = "../../../../../../substrate/primitives/std", default-features = false }
sp-api = { path = "../../../../../../substrate/primitives/api", default-features = false }
xcm = { package = "staging-xcm", path = "../../../../../../polkadot/xcm", default-features = false }
sp-core = { path = "../../../../../substrate/primitives/core", default-features = false }
sp-std = { path = "../../../../../substrate/primitives/std", default-features = false }
sp-api = { path = "../../../../../substrate/primitives/api", default-features = false }
xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false }
snowbridge-core = { path = "../../../primitives/core", default-features = false }

[features]
Expand Down
Loading

0 comments on commit 2ab3f03

Please sign in to comment.