Skip to content

Commit

Permalink
Remove unused Kusama Snowbridge code (#411)
Browse files Browse the repository at this point in the history
Kusama does not have Ethereum Snowbridge deployed. This commit removes
all that unused code.

If we decide to deploy Kusama<>Ethereum bridge, we can bring it back.

---------

Signed-off-by: Adrian Catangiu <[email protected]>
Co-authored-by: Branislav Kontur <[email protected]>
Co-authored-by: fellowship-merge-bot[bot] <151052383+fellowship-merge-bot[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Aug 14, 2024
1 parent 57f4df4 commit ab0f42d
Show file tree
Hide file tree
Showing 25 changed files with 52 additions and 2,279 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Remove deprecated calls from treasury pallet ([runtimes#381](https://github.com/polkadot-fellows/runtimes/pull/381), [SDK v1.14 #3820](https://github.com/paritytech/polkadot-sdk/pull/3820)).
- Treasury pallet: - remove unused config parameters ([runtimes#381](https://github.com/polkadot-fellows/runtimes/pull/381), [SDK v1.14 #4831](https://github.com/paritytech/polkadot-sdk/pull/4831)).
- Remove Identity from Polkadot Relay Chain ([runtimes#415](https://github.com/polkadot-fellows/runtimes/pull/415))
- Kusama: Remove unused Snowbridge code and configs ([polkadot-fellows/runtimes#411](https://github.com/polkadot-fellows/runtimes/pull/411)

#### From [#322](https://github.com/polkadot-fellows/runtimes/pull/322):

Expand Down
14 changes: 0 additions & 14 deletions Cargo.lock

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

Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ pub fn genesis() -> Storage {
owner: Some(get_account_id_from_seed::<sr25519::Public>(accounts::BOB)),
..Default::default()
},
ethereum_system: bridge_hub_kusama_runtime::EthereumSystemConfig {
para_id: PARA_ID.into(),
asset_hub_para_id: ASSET_HUB_PARA_ID.into(),
..Default::default()
},
..Default::default()
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ decl_test_parachains! {
pallets = {
PolkadotXcm: bridge_hub_kusama_runtime::PolkadotXcm,
Balances: bridge_hub_kusama_runtime::Balances,
EthereumSystem: bridge_hub_kusama_runtime::EthereumSystem,
EthereumInboundQueue: bridge_hub_kusama_runtime::EthereumInboundQueue,
EthereumOutboundQueue: bridge_hub_kusama_runtime::EthereumOutboundQueue,
}
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ use crate::*;
mod asset_transfers;
mod claim_assets;
mod send_xcm;
mod snowbridge;
mod teleport;

pub(crate) fn asset_hub_polkadot_location() -> Location {
Expand Down
Loading

0 comments on commit ab0f42d

Please sign in to comment.