From b4c018fbb1ce4197add83a949d2ef0a9f7ef89d0 Mon Sep 17 00:00:00 2001 From: Szegoo Date: Sun, 28 Jan 2024 14:56:27 +0100 Subject: [PATCH] add chain extension to runtimes --- runtime/local/src/lib.rs | 4 ++++ runtime/shibuya/src/lib.rs | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/runtime/local/src/lib.rs b/runtime/local/src/lib.rs index 6889ee08d9..89eb6653a6 100644 --- a/runtime/local/src/lib.rs +++ b/runtime/local/src/lib.rs @@ -932,6 +932,10 @@ impl pallet_contracts::Config for Runtime { AssetsExtension>, UnifiedAccountsExtension, UniquesExtension>, + BlockNumberProviderExtension< + Self, + chain_extension_block_number_provider::weights::SubstrateWeight, + >, ); type Schedule = Schedule; type AddressGenerator = pallet_contracts::DefaultAddressGenerator; diff --git a/runtime/shibuya/src/lib.rs b/runtime/shibuya/src/lib.rs index cdce958073..ca151afc20 100644 --- a/runtime/shibuya/src/lib.rs +++ b/runtime/shibuya/src/lib.rs @@ -720,6 +720,10 @@ impl pallet_contracts::Config for Runtime { AssetsExtension>, UnifiedAccountsExtension, UniquesExtension>, + BlockNumberProviderExtension< + Self, + chain_extension_block_number_provider::weights::SubstrateWeight, + >, ); type Schedule = Schedule; type AddressGenerator = pallet_contracts::DefaultAddressGenerator;