mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 09:51:02 +00:00
Add integrity check for signed extensions (#1780)
* Add integrity check for signed extensions * Remove unneeded type specification
This commit is contained in:
committed by
Bastian Köcher
parent
4cdb85247e
commit
2ff3a7aa38
@@ -18,9 +18,9 @@
|
||||
|
||||
use bp_messages::*;
|
||||
pub use bp_polkadot_core::{
|
||||
AccountId, AccountInfoStorageMapKeyProvider, AccountPublic, Balance, BlockNumber,
|
||||
BridgeSignedExtension, Hash, Hasher, Hashing, Header, Index, Nonce, Perbill,
|
||||
PolkadotSignedExtension, Signature, SignedBlock, UncheckedExtrinsic, TX_EXTRA_BYTES,
|
||||
AccountId, AccountInfoStorageMapKeyProvider, AccountPublic, Balance, BlockNumber, Hash, Hasher,
|
||||
Hashing, Header, Index, Nonce, Perbill, PolkadotSignedExtension, Signature, SignedBlock,
|
||||
UncheckedExtrinsic, TX_EXTRA_BYTES,
|
||||
};
|
||||
use frame_support::{
|
||||
dispatch::DispatchClass,
|
||||
@@ -86,6 +86,8 @@ pub type AccountSigner = MultiSigner;
|
||||
/// The address format for describing accounts.
|
||||
pub type Address = MultiAddress<AccountId, ()>;
|
||||
|
||||
pub use bp_polkadot_core::BridgeSignedExtension as SignedExtension;
|
||||
|
||||
// Note about selecting values of two following constants:
|
||||
//
|
||||
// Normal transactions have limit of 75% of 1/2 second weight for Cumulus parachains. Let's keep
|
||||
|
||||
Reference in New Issue
Block a user