mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 10:27:59 +00:00
Add crypto identifier to RuntimeAppPublic (#5965)
* Add crypto identifier to RuntimeAppPublic * Update primitives/application-crypto/src/traits.rs Co-authored-by: Gavin Wood <github@gavwood.com> Co-authored-by: Gavin Wood <github@gavwood.com>
This commit is contained in:
@@ -24,7 +24,7 @@ use crate::traits::{
|
||||
SignedExtension, Dispatchable, DispatchInfoOf,
|
||||
};
|
||||
use crate::traits::ValidateUnsigned;
|
||||
use crate::{generic, KeyTypeId, ApplyExtrinsicResult};
|
||||
use crate::{generic, KeyTypeId, CryptoTypeId, ApplyExtrinsicResult};
|
||||
pub use sp_core::{H256, sr25519};
|
||||
use sp_core::{crypto::{CryptoType, Dummy, key_types, Public}, U256};
|
||||
use crate::transaction_validity::{TransactionValidity, TransactionValidityError, TransactionSource};
|
||||
@@ -86,6 +86,7 @@ impl UintAuthorityId {
|
||||
|
||||
impl sp_application_crypto::RuntimeAppPublic for UintAuthorityId {
|
||||
const ID: KeyTypeId = key_types::DUMMY;
|
||||
const CRYPTO_ID: CryptoTypeId = CryptoTypeId(*b"dumm");
|
||||
|
||||
type Signature = TestSignature;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user