From 258b0fab4346e34f7572021884d275c7e9a63a8e Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Wed, 18 Nov 2020 13:48:16 +0000 Subject: [PATCH] Explicitly use default contract weights schedule (#24) --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index c5b5d23..e9a16b8 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -286,7 +286,7 @@ impl pallet_contracts::Trait for Runtime { type MaxDepth = pallet_contracts::DefaultMaxDepth; type MaxValueSize = pallet_contracts::DefaultMaxValueSize; type WeightPrice = pallet_transaction_payment::Module; - type WeightInfo = (); + type WeightInfo = pallet_contracts::weights::SubstrateWeight; } impl pallet_sudo::Trait for Runtime { -- GitLab