Skip to content

Commit

Permalink
add chain extension to runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
Szegoo committed Jan 28, 2024
1 parent 8e6ba0b commit b4c018f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runtime/local/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -932,6 +932,10 @@ impl pallet_contracts::Config for Runtime {
AssetsExtension<Self, pallet_chain_extension_assets::weights::SubstrateWeight<Self>>,
UnifiedAccountsExtension<Self, UnifiedAccounts>,
UniquesExtension<Self, pallet_chain_extension_uniques::weights::SubstrateWeight<Self>>,
BlockNumberProviderExtension<
Self,
chain_extension_block_number_provider::weights::SubstrateWeight<Self>,
>,
);
type Schedule = Schedule;
type AddressGenerator = pallet_contracts::DefaultAddressGenerator;
Expand Down
4 changes: 4 additions & 0 deletions runtime/shibuya/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,10 @@ impl pallet_contracts::Config for Runtime {
AssetsExtension<Self, pallet_chain_extension_assets::weights::SubstrateWeight<Self>>,
UnifiedAccountsExtension<Self, UnifiedAccounts>,
UniquesExtension<Self, pallet_chain_extension_uniques::weights::SubstrateWeight<Self>>,
BlockNumberProviderExtension<
Self,
chain_extension_block_number_provider::weights::SubstrateWeight<Self>,
>,
);
type Schedule = Schedule;
type AddressGenerator = pallet_contracts::DefaultAddressGenerator;
Expand Down

0 comments on commit b4c018f

Please sign in to comment.