Comanion for substrate#11136 (#5218)

* Comanion for substrate#11136

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

* revert changes in bridge

Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
Qinxuan Chen
2022-04-04 17:13:34 +08:00
committed by GitHub
parent 8f784d592a
commit 74078d8eb9
65 changed files with 48 additions and 115 deletions
+1 -1
View File
@@ -826,7 +826,7 @@ mod crypto {
use sp_core::ed25519;
use sp_io::crypto::{ed25519_generate, ed25519_sign};
use sp_runtime::{MultiSignature, MultiSigner};
use sp_std::{convert::TryFrom, vec::Vec};
use sp_std::vec::Vec;
pub fn create_ed25519_pubkey(seed: Vec<u8>) -> MultiSigner {
ed25519_generate(0.into(), Some(seed)).into()
@@ -44,7 +44,7 @@ use sp_runtime::{
transaction_validity::TransactionPriority,
AccountId32,
};
use sp_std::{convert::TryInto, sync::Arc};
use sp_std::sync::Arc;
type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<Test>;
type Block = frame_system::mocking::MockBlock<Test>;