mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 08:11:03 +00:00
Update substrate & polkadot (#82)
This commit is contained in:
@@ -26,7 +26,7 @@ use cumulus_primitives::{
|
||||
};
|
||||
use frame_support::{
|
||||
decl_module, storage,
|
||||
weights::{SimpleDispatchInfo, WeighData, Weight},
|
||||
weights::{MINIMUM_WEIGHT, SimpleDispatchInfo, WeighData, Weight},
|
||||
};
|
||||
use frame_system::ensure_none;
|
||||
use sp_inherents::{InherentData, InherentIdentifier, MakeFatalError, ProvideInherent};
|
||||
@@ -51,7 +51,7 @@ decl_module! {
|
||||
fn on_initialize() -> Weight {
|
||||
storage::unhashed::kill(well_known_keys::UPWARD_MESSAGES);
|
||||
|
||||
SimpleDispatchInfo::default().weigh_data(())
|
||||
SimpleDispatchInfo::FixedNormal(MINIMUM_WEIGHT).weigh_data(())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user