mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 07:31:02 +00:00
remove messages pallet owner relay argument (#1728)
This commit is contained in:
committed by
Bastian Köcher
parent
7964152b49
commit
b51da6451d
@@ -63,13 +63,6 @@ pub enum TaggedAccount<AccountId> {
|
||||
/// Name of the bridged chain, which sends us messages or delivery confirmations.
|
||||
bridged_chain: String,
|
||||
},
|
||||
/// Account, used to sign messages with-bridged-chain pallet parameters update transactions.
|
||||
MessagesPalletOwner {
|
||||
/// Account id.
|
||||
id: AccountId,
|
||||
/// Name of the chain, bridged using messages pallet at our chain.
|
||||
bridged_chain: String,
|
||||
},
|
||||
}
|
||||
|
||||
impl<AccountId> TaggedAccount<AccountId> {
|
||||
@@ -79,7 +72,6 @@ impl<AccountId> TaggedAccount<AccountId> {
|
||||
TaggedAccount::Headers { ref id, .. } => id,
|
||||
TaggedAccount::Parachains { ref id, .. } => id,
|
||||
TaggedAccount::Messages { ref id, .. } => id,
|
||||
TaggedAccount::MessagesPalletOwner { ref id, .. } => id,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -93,9 +85,6 @@ impl<AccountId> TaggedAccount<AccountId> {
|
||||
TaggedAccount::Messages { ref bridged_chain, .. } => {
|
||||
format!("{bridged_chain}Messages")
|
||||
},
|
||||
TaggedAccount::MessagesPalletOwner { ref bridged_chain, .. } => {
|
||||
format!("{bridged_chain}MessagesPalletOwner")
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user