mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 19:51:02 +00:00
removed extra *_RUNTIME_VERSION consts from relay code (#1330)
This commit is contained in:
committed by
Bastian Köcher
parent
e29b590785
commit
60f82cf459
@@ -77,11 +77,6 @@ macro_rules! select_full_bridge {
|
||||
#[allow(unused_imports)]
|
||||
use millau_runtime::millau_to_rialto_account_ownership_digest as account_ownership_digest;
|
||||
|
||||
#[allow(dead_code)]
|
||||
const SOURCE_RUNTIME_VERSION: Option<sp_version::RuntimeVersion> = Some(millau_runtime::VERSION);
|
||||
#[allow(dead_code)]
|
||||
const TARGET_RUNTIME_VERSION: Option<sp_version::RuntimeVersion> = Some(rialto_runtime::VERSION);
|
||||
|
||||
$generic
|
||||
}
|
||||
FullBridge::RialtoToMillau => {
|
||||
@@ -105,11 +100,6 @@ macro_rules! select_full_bridge {
|
||||
#[allow(unused_imports)]
|
||||
use rialto_runtime::rialto_to_millau_account_ownership_digest as account_ownership_digest;
|
||||
|
||||
#[allow(dead_code)]
|
||||
const SOURCE_RUNTIME_VERSION: Option<sp_version::RuntimeVersion> = Some(rialto_runtime::VERSION);
|
||||
#[allow(dead_code)]
|
||||
const TARGET_RUNTIME_VERSION: Option<sp_version::RuntimeVersion> = Some(millau_runtime::VERSION);
|
||||
|
||||
$generic
|
||||
}
|
||||
FullBridge::RococoToWococo => {
|
||||
@@ -132,11 +122,6 @@ macro_rules! select_full_bridge {
|
||||
#[allow(unused_imports)]
|
||||
use relay_rococo_client::runtime::rococo_to_wococo_account_ownership_digest as account_ownership_digest;
|
||||
|
||||
#[allow(dead_code)]
|
||||
const SOURCE_RUNTIME_VERSION: Option<sp_version::RuntimeVersion> = Some(bp_rococo::VERSION);
|
||||
#[allow(dead_code)]
|
||||
const TARGET_RUNTIME_VERSION: Option<sp_version::RuntimeVersion> = Some(bp_wococo::VERSION);
|
||||
|
||||
$generic
|
||||
}
|
||||
FullBridge::WococoToRococo => {
|
||||
@@ -159,11 +144,6 @@ macro_rules! select_full_bridge {
|
||||
#[allow(unused_imports)]
|
||||
use relay_wococo_client::runtime::wococo_to_rococo_account_ownership_digest as account_ownership_digest;
|
||||
|
||||
#[allow(dead_code)]
|
||||
const SOURCE_RUNTIME_VERSION: Option<sp_version::RuntimeVersion> = Some(bp_wococo::VERSION);
|
||||
#[allow(dead_code)]
|
||||
const TARGET_RUNTIME_VERSION: Option<sp_version::RuntimeVersion> = Some(bp_rococo::VERSION);
|
||||
|
||||
$generic
|
||||
}
|
||||
FullBridge::KusamaToPolkadot => {
|
||||
@@ -186,11 +166,6 @@ macro_rules! select_full_bridge {
|
||||
#[allow(unused_imports)]
|
||||
use relay_kusama_client::runtime::kusama_to_polkadot_account_ownership_digest as account_ownership_digest;
|
||||
|
||||
#[allow(dead_code)]
|
||||
const SOURCE_RUNTIME_VERSION: Option<sp_version::RuntimeVersion> = Some(bp_kusama::VERSION);
|
||||
#[allow(dead_code)]
|
||||
const TARGET_RUNTIME_VERSION: Option<sp_version::RuntimeVersion> = Some(bp_polkadot::VERSION);
|
||||
|
||||
$generic
|
||||
}
|
||||
FullBridge::PolkadotToKusama => {
|
||||
@@ -213,11 +188,6 @@ macro_rules! select_full_bridge {
|
||||
#[allow(unused_imports)]
|
||||
use relay_polkadot_client::runtime::polkadot_to_kusama_account_ownership_digest as account_ownership_digest;
|
||||
|
||||
#[allow(dead_code)]
|
||||
const SOURCE_RUNTIME_VERSION: Option<sp_version::RuntimeVersion> = Some(bp_polkadot::VERSION);
|
||||
#[allow(dead_code)]
|
||||
const TARGET_RUNTIME_VERSION: Option<sp_version::RuntimeVersion> = Some(bp_kusama::VERSION);
|
||||
|
||||
$generic
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user