Remove CliChain::KeyPair (#1741)

This commit is contained in:
Serban Iorga
2022-12-30 13:48:29 +02:00
committed by Bastian Köcher
parent 03425b33ae
commit 4a10ccb118
15 changed files with 28 additions and 68 deletions
@@ -57,10 +57,7 @@ pub struct SendMessage {
#[async_trait]
trait MessageSender: MessagesCliBridge
where
Self::Source: ChainBase<Index = u32>
+ ChainWithTransactions
+ CliChain<KeyPair = AccountKeyPairOf<Self::Source>>
+ CliEncodeMessage,
Self::Source: ChainBase<Index = u32> + ChainWithTransactions + CliChain + CliEncodeMessage,
<Self::Source as ChainBase>::Balance: Display + From<u64> + Into<u128>,
<Self::Source as Chain>::Call: Sync,
<Self::Source as ChainWithTransactions>::SignedTransaction: Sync,