mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
removed unused PARACHAINS_FINALITY_PALLET_NAME constant (#2670)
This commit is contained in:
committed by
Bastian Köcher
parent
564cb492f9
commit
11052e3942
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user