use generated preimage weight (#5904)

* use generated preimage weight

* cargo update -p sp-io

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Shawn TabriziandOliver Tale-Yazdi authored and GitHub committed 2022-08-28 12:58:01 +00:00
1 parent b81578a429
commit 5595c96d03
1 file changed
+1 -1
+1 -1
View File
@@ -284,7 +284,7 @@ parameter_types! {
}
impl pallet_preimage::Config for Runtime {
type WeightInfo = pallet_preimage::weights::SubstrateWeight<Runtime>;
type WeightInfo = weights::pallet_preimage::WeightInfo<Runtime>;
type Event = Event;
type Currency = Balances;
type ManagerOrigin = EnsureRoot<AccountId>;