Skip to content

Commit

Permalink
Remove Rococo from Control Tool (#1360)
Browse files Browse the repository at this point in the history
* Remove Rococo

* update deprecated workflow

* remove default feature
  • Loading branch information
alistair-singh authored Jan 7, 2025
1 parent 20a8046 commit 875666c
Show file tree
Hide file tree
Showing 24 changed files with 1 addition and 150 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/control.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
fetch-depth: 2

- uses: actions/cache@v1
- uses: actions/cache@v3
with:
path: |
~/.cargo/registry
Expand Down
36 changes: 0 additions & 36 deletions control/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions control/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[workspace]
resolver = "2"
members = [
"runtimes/rococo",
"runtimes/bridge-hub-rococo",
"runtimes/asset-hub-rococo",
"runtimes/polkadot",
"runtimes/bridge-hub-polkadot",
"runtimes/asset-hub-polkadot",
Expand Down
9 changes: 0 additions & 9 deletions control/preimage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ alloy-primitives = "0.6.3"
snowbridge-beacon-primitives = "0.2.0"
snowbridge-router-primitives = "0.2.0"

rococo-runtime = { path = "../runtimes/rococo", optional = true }
bridge-hub-rococo-runtime = { path = "../runtimes/bridge-hub-rococo", optional = true }
asset-hub-rococo-runtime = { path = "../runtimes/asset-hub-rococo", optional = true }

polkadot-runtime = { path = "../runtimes/polkadot", optional = true }
bridge-hub-polkadot-runtime = { path = "../runtimes/bridge-hub-polkadot", optional = true }
asset-hub-polkadot-runtime = { path = "../runtimes/asset-hub-polkadot", optional = true }
Expand All @@ -48,11 +44,6 @@ asset-hub-westend-runtime = { path = "../runtimes/asset-hub-westend", optional =

[features]
default = []
rococo = [
"rococo-runtime",
"asset-hub-rococo-runtime",
"bridge-hub-rococo-runtime",
]
kusama = []
polkadot = [
"polkadot-runtime",
Expand Down
5 changes: 0 additions & 5 deletions control/preimage/src/asset_hub_runtime.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
#[cfg(feature = "rococo")]
pub use asset_hub_rococo_runtime::runtime_types::asset_hub_rococo_runtime::RuntimeCall;
#[cfg(feature = "rococo")]
pub use asset_hub_rococo_runtime::*;

#[cfg(feature = "polkadot")]
pub use asset_hub_polkadot_runtime::runtime_types::asset_hub_polkadot_runtime::RuntimeCall;
#[cfg(feature = "polkadot")]
Expand Down
5 changes: 0 additions & 5 deletions control/preimage/src/bridge_hub_runtime.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
#[cfg(feature = "rococo")]
pub use bridge_hub_rococo_runtime::runtime_types::bridge_hub_rococo_runtime::RuntimeCall;
#[cfg(feature = "rococo")]
pub use bridge_hub_rococo_runtime::*;

#[cfg(feature = "polkadot")]
pub use bridge_hub_polkadot_runtime::runtime_types::bridge_hub_polkadot_runtime::RuntimeCall;
#[cfg(feature = "polkadot")]
Expand Down
13 changes: 0 additions & 13 deletions control/preimage/src/constants.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
#[cfg(feature = "rococo")]
mod rococo {
pub const POLKADOT_SYMBOL: &str = "ROC";
pub const POLKADOT_DECIMALS: u8 = 12;
pub const ASSET_HUB_ID: u32 = 1000;
pub const ASSET_HUB_API: &str = "wss://rococo-asset-hub-rpc.polkadot.io";
pub const BRIDGE_HUB_ID: u32 = 1002;
pub const BRIDGE_HUB_API: &str = "wss://rococo-bridge-hub-rpc.polkadot.io";
}

#[cfg(feature = "rococo")]
pub use rococo::*;

#[cfg(feature = "polkadot")]
mod polkadot {
pub const POLKADOT_SYMBOL: &str = "DOT";
Expand Down
5 changes: 0 additions & 5 deletions control/preimage/src/relay_runtime.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
#[cfg(feature = "rococo")]
pub use rococo_runtime::runtime_types::rococo_runtime::RuntimeCall;
#[cfg(feature = "rococo")]
pub use rococo_runtime::*;

#[cfg(feature = "polkadot")]
pub use polkadot_runtime::runtime_types::polkadot_runtime::RuntimeCall;
#[cfg(feature = "polkadot")]
Expand Down
11 changes: 0 additions & 11 deletions control/runtimes/asset-hub-rococo/Cargo.toml

This file was deleted.

Binary file not shown.
3 changes: 0 additions & 3 deletions control/runtimes/asset-hub-rococo/build.rs

This file was deleted.

7 changes: 0 additions & 7 deletions control/runtimes/asset-hub-rococo/src/lib.rs

This file was deleted.

Binary file modified control/runtimes/asset-hub-westend/asset-hub-metadata.bin
Binary file not shown.
12 changes: 0 additions & 12 deletions control/runtimes/bridge-hub-rococo/Cargo.toml

This file was deleted.

Binary file not shown.
3 changes: 0 additions & 3 deletions control/runtimes/bridge-hub-rococo/build.rs

This file was deleted.

17 changes: 0 additions & 17 deletions control/runtimes/bridge-hub-rococo/src/lib.rs

This file was deleted.

Binary file modified control/runtimes/bridge-hub-westend/bridge-hub-metadata.bin
Binary file not shown.
Binary file modified control/runtimes/paseo/polkadot-metadata.bin
Binary file not shown.
10 changes: 0 additions & 10 deletions control/runtimes/rococo/Cargo.toml

This file was deleted.

3 changes: 0 additions & 3 deletions control/runtimes/rococo/build.rs

This file was deleted.

Binary file removed control/runtimes/rococo/polkadot-metadata.bin
Binary file not shown.
7 changes: 0 additions & 7 deletions control/runtimes/rococo/src/lib.rs

This file was deleted.

Binary file modified control/runtimes/westend/polkadot-metadata.bin
Binary file not shown.

0 comments on commit 875666c

Please sign in to comment.