remove messages pallet owner relay argument (#1728)

This commit is contained in:
Svyatoslav Nikolsky
2022-12-19 14:22:50 +03:00
committed by Bastian Köcher
parent 7964152b49
commit b51da6451d
6 changed files with 0 additions and 101 deletions
@@ -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")
},
}
}
}