diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index 04e560989..5f59b69ff 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -322,6 +322,7 @@ impl Contains for BaseFilter { // These modules are all allowed to be called by transactions: RuntimeCall::Bounties(_) | RuntimeCall::ChildBounties(_) | + RuntimeCall::ClientsInfo(_) | RuntimeCall::Treasury(_) | RuntimeCall::Tokens(_) | RuntimeCall::Currencies(_) | @@ -1193,6 +1194,13 @@ impl replace::Config for Runtime { type WeightInfo = replace::SubstrateWeight; } +impl clients_info::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type WeightInfo = clients_info::SubstrateWeight; + type MaxNameLength = ConstU32<255>; + type MaxUriLength = ConstU32<255>; +} + parameter_types! { pub const FarmingKeeperPalletId: PalletId = PalletId(*b"am/fmkpr"); pub const FarmingRewardIssuerPalletId: PalletId = PalletId(*b"am/fmrir"); @@ -1281,6 +1289,7 @@ construct_runtime!( VaultRegistry: vault_registry::{Pallet, Call, Config, Storage, Event, ValidateUnsigned} = 69, VaultRewards: reward::{Pallet, Call, Storage, Event} = 70, VaultStaking: staking::{Pallet, Storage, Event} = 71, + ClientsInfo: clients_info::{Pallet, Call, Storage, Event} = 72, Farming: farming::{Pallet, Call, Storage, Event} = 90, diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index 887b6eaf4..375668f3d 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -332,6 +332,7 @@ impl Contains for BaseFilter { // These modules are all allowed to be called by transactions: RuntimeCall::Bounties(_) | RuntimeCall::ChildBounties(_) | + RuntimeCall::ClientsInfo(_) | RuntimeCall::Treasury(_) | RuntimeCall::Tokens(_) | RuntimeCall::Currencies(_) | @@ -1502,6 +1503,13 @@ impl replace::Config for Runtime { type WeightInfo = replace::SubstrateWeight; } +impl clients_info::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type WeightInfo = clients_info::SubstrateWeight; + type MaxNameLength = ConstU32<255>; + type MaxUriLength = ConstU32<255>; +} + impl frame_system::offchain::SendTransactionTypes for Runtime where RuntimeCall: From, @@ -1582,6 +1590,7 @@ construct_runtime!( VaultRegistry: vault_registry::{Pallet, Call, Config, Storage, Event, ValidateUnsigned} = 69, VaultRewards: reward::{Pallet, Call, Storage, Event} = 70, VaultStaking: staking::{Pallet, Storage, Event} = 71, + ClientsInfo: clients_info::{Pallet, Call, Storage, Event} = 72, TokenAllowance: orml_currencies_allowance_extension::{Pallet, Storage, Call, Event} = 80,