Skip to content
Snippets Groups Projects
Commit 489a33a2 authored by Svyatoslav Nikolsky's avatar Svyatoslav Nikolsky Committed by Serban Iorga
Browse files

removed unused PARACHAINS_FINALITY_PALLET_NAME constant (#2670)

parent 0d3c5af7
No related merge requests found
......@@ -80,7 +80,6 @@ impl ChainWithBalances for Kusama {
impl RelayChain for Kusama {
const PARAS_PALLET_NAME: &'static str = bp_kusama::PARAS_PALLET_NAME;
const PARACHAINS_FINALITY_PALLET_NAME: &'static str = "BridgeKusamaParachain";
}
impl ChainWithTransactions for Kusama {
......
......@@ -80,7 +80,6 @@ impl ChainWithBalances for Polkadot {
impl RelayChain for Polkadot {
const PARAS_PALLET_NAME: &'static str = bp_polkadot::PARAS_PALLET_NAME;
const PARACHAINS_FINALITY_PALLET_NAME: &'static str = "BridgePolkadotParachain";
}
impl ChainWithTransactions for Polkadot {
......
......@@ -61,8 +61,6 @@ impl ChainWithGrandpa for Rialto {
impl RelayChain for Rialto {
const PARAS_PALLET_NAME: &'static str = bp_rialto::PARAS_PALLET_NAME;
const PARACHAINS_FINALITY_PALLET_NAME: &'static str =
bp_rialto::WITH_RIALTO_BRIDGE_PARAS_PALLET_NAME;
}
impl ChainWithMessages for Rialto {
......
......@@ -80,7 +80,6 @@ impl ChainWithBalances for Rococo {
impl RelayChain for Rococo {
const PARAS_PALLET_NAME: &'static str = bp_rococo::PARAS_PALLET_NAME;
const PARACHAINS_FINALITY_PALLET_NAME: &'static str = "BridgeRococoParachains";
}
impl ChainWithTransactions for Rococo {
......
......@@ -66,12 +66,6 @@ pub trait Chain: ChainBase + Clone {
pub trait RelayChain: Chain {
/// Name of the `runtime_parachains::paras` pallet in the runtime of this chain.
const PARAS_PALLET_NAME: &'static str;
/// Name of the bridge parachains pallet (used in `construct_runtime` macro call) that is
/// deployed at the **bridged** chain.
///
/// We assume that all chains that are bridging with this `RelayChain` are using
/// the same name.
const PARACHAINS_FINALITY_PALLET_NAME: &'static str;
}
/// Substrate-based chain that is using direct GRANDPA finality from minimal relay-client point of
......
......@@ -74,7 +74,6 @@ impl ChainWithGrandpa for Westend {
impl RelayChain for Westend {
const PARAS_PALLET_NAME: &'static str = bp_westend::PARAS_PALLET_NAME;
const PARACHAINS_FINALITY_PALLET_NAME: &'static str = "BridgeWestendParachains";
}
impl ChainWithBalances for Westend {
......
......@@ -79,7 +79,6 @@ impl ChainWithBalances for Wococo {
impl RelayChain for Wococo {
const PARAS_PALLET_NAME: &'static str = bp_wococo::PARAS_PALLET_NAME;
const PARACHAINS_FINALITY_PALLET_NAME: &'static str = "BridgeWococoParachains";
}
impl ChainWithTransactions for Wococo {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment