From 5595c96d035f19f6a34cd481161d8fef00f1226c Mon Sep 17 00:00:00 2001 From: Shawn Tabrizi Date: Sun, 28 Aug 2022 13:58:01 +0100 Subject: [PATCH] use generated preimage weight (#5904) * use generated preimage weight * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi Signed-off-by: Oliver Tale-Yazdi Co-authored-by: Oliver Tale-Yazdi --- polkadot/runtime/polkadot/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polkadot/runtime/polkadot/src/lib.rs b/polkadot/runtime/polkadot/src/lib.rs index 502c116a73..5c5e1d65b5 100644 --- a/polkadot/runtime/polkadot/src/lib.rs +++ b/polkadot/runtime/polkadot/src/lib.rs @@ -284,7 +284,7 @@ parameter_types! { } impl pallet_preimage::Config for Runtime { - type WeightInfo = pallet_preimage::weights::SubstrateWeight; + type WeightInfo = weights::pallet_preimage::WeightInfo; type Event = Event; type Currency = Balances; type ManagerOrigin = EnsureRoot;