mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 09:51:02 +00:00
Relayers pallet: extend payment source id (#1907)
* Add Chain::ID const * Relayers pallet: extend payment source id * Addressed code review comments * Fix benchmarks * Fix dashboards * Renamings * Fix compilation
This commit is contained in:
committed by
Bastian Köcher
parent
f31b5d8634
commit
f5fee288b9
@@ -20,6 +20,7 @@ pub mod codegen_runtime;
|
||||
|
||||
use bp_messages::MessageNonce;
|
||||
use bp_polkadot_core::PolkadotSignedExtension;
|
||||
use bp_runtime::ChainId;
|
||||
use codec::Encode;
|
||||
use relay_substrate_client::{
|
||||
Chain, ChainWithBalances, ChainWithMessages, ChainWithTransactions, Error as SubstrateError,
|
||||
@@ -48,6 +49,7 @@ impl UnderlyingChainProvider for RialtoParachain {
|
||||
}
|
||||
|
||||
impl Chain for RialtoParachain {
|
||||
const ID: ChainId = bp_runtime::RIALTO_PARACHAIN_CHAIN_ID;
|
||||
const NAME: &'static str = "RialtoParachain";
|
||||
// RialtoParachain token has no value, but we associate it with DOT token
|
||||
const TOKEN_ID: Option<&'static str> = Some("polkadot");
|
||||
|
||||
Reference in New Issue
Block a user