mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-22 15:01:04 +00:00
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:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user