diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index f8af075dd..2386750f4 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -334,56 +334,56 @@ impl Contains for BaseFilter { fn contains(call: &RuntimeCall) -> bool { match call { // These modules are all allowed to be called by transactions: - RuntimeCall::Bounties(_) | - RuntimeCall::ChildBounties(_) | - RuntimeCall::ClientsInfo(_) | - RuntimeCall::Treasury(_) | - RuntimeCall::Tokens(_) | - RuntimeCall::Currencies(_) | - RuntimeCall::ParachainStaking(_) | - RuntimeCall::Democracy(_) | - RuntimeCall::Council(_) | - RuntimeCall::TechnicalCommittee(_) | - RuntimeCall::System(_) | - RuntimeCall::Scheduler(_) | - RuntimeCall::Preimage(_) | - RuntimeCall::Timestamp(_) | - RuntimeCall::Balances(_) | - RuntimeCall::Session(_) | - RuntimeCall::ParachainSystem(_) | - RuntimeCall::Sudo(_) | - RuntimeCall::XcmpQueue(_) | - RuntimeCall::PolkadotXcm(_) | - RuntimeCall::DmpQueue(_) | - RuntimeCall::Utility(_) | - RuntimeCall::Vesting(_) | - RuntimeCall::XTokens(_) | - RuntimeCall::Multisig(_) | - RuntimeCall::Identity(_) | - RuntimeCall::Contracts(_) | - RuntimeCall::ZenlinkProtocol(_) | - RuntimeCall::DiaOracleModule(_) | - RuntimeCall::Fee(_) | - RuntimeCall::Issue(_) | - RuntimeCall::Nomination(_) | - RuntimeCall::Oracle(_) | - RuntimeCall::Redeem(_) | - RuntimeCall::Replace(_) | - RuntimeCall::Security(_) | - RuntimeCall::StellarRelay(_) | - RuntimeCall::VaultRegistry(_) | - RuntimeCall::PooledVaultRewards(_) | - RuntimeCall::Farming(_) | - RuntimeCall::TokenAllowance(_) | - RuntimeCall::AssetRegistry(_) | - RuntimeCall::Proxy(_) | - RuntimeCall::OrmlExtension(_) | - RuntimeCall::TreasuryBuyoutExtension(_) | - RuntimeCall::RewardDistribution(_) | - RuntimeCall::ParachainInfo(_) | - RuntimeCall::CumulusXcm(_) | - RuntimeCall::VaultStaking(_) => true, // All pallets are allowed, but exhaustive match is defensive - // in the case of adding new pallets. + RuntimeCall::Bounties(_) + | RuntimeCall::ChildBounties(_) + | RuntimeCall::ClientsInfo(_) + | RuntimeCall::Treasury(_) + | RuntimeCall::Tokens(_) + | RuntimeCall::Currencies(_) + | RuntimeCall::ParachainStaking(_) + | RuntimeCall::Democracy(_) + | RuntimeCall::Council(_) + | RuntimeCall::TechnicalCommittee(_) + | RuntimeCall::System(_) + | RuntimeCall::Scheduler(_) + | RuntimeCall::Preimage(_) + | RuntimeCall::Timestamp(_) + | RuntimeCall::Balances(_) + | RuntimeCall::Session(_) + | RuntimeCall::ParachainSystem(_) + | RuntimeCall::Sudo(_) + | RuntimeCall::XcmpQueue(_) + | RuntimeCall::PolkadotXcm(_) + | RuntimeCall::DmpQueue(_) + | RuntimeCall::Utility(_) + | RuntimeCall::Vesting(_) + | RuntimeCall::XTokens(_) + | RuntimeCall::Multisig(_) + | RuntimeCall::Identity(_) + | RuntimeCall::Contracts(_) + | RuntimeCall::ZenlinkProtocol(_) + | RuntimeCall::DiaOracleModule(_) + | RuntimeCall::Fee(_) + | RuntimeCall::Issue(_) + | RuntimeCall::Nomination(_) + | RuntimeCall::Oracle(_) + | RuntimeCall::Redeem(_) + | RuntimeCall::Replace(_) + | RuntimeCall::Security(_) + | RuntimeCall::StellarRelay(_) + | RuntimeCall::VaultRegistry(_) + | RuntimeCall::PooledVaultRewards(_) + | RuntimeCall::Farming(_) + | RuntimeCall::TokenAllowance(_) + | RuntimeCall::AssetRegistry(_) + | RuntimeCall::Proxy(_) + | RuntimeCall::OrmlExtension(_) + | RuntimeCall::TreasuryBuyoutExtension(_) + | RuntimeCall::RewardDistribution(_) + | RuntimeCall::ParachainInfo(_) + | RuntimeCall::CumulusXcm(_) + | RuntimeCall::VaultStaking(_) => true, // All pallets are allowed, but exhaustive match is defensive + // in the case of adding new pallets. } } } @@ -1041,8 +1041,8 @@ const fn deposit(items: u32, bytes: u32) -> Balance { parameter_types! { pub const DepositPerItem: Balance = deposit(1, 0); - pub const DepositPerByte: Balance = deposit(0, 1); - pub const DefaultDepositLimit: Balance = deposit(1024, 1024 * 1024); + pub const DepositPerByte: Balance = deposit(0, 1); + pub const DefaultDepositLimit: Balance = deposit(1024, 1024 * 1024); pub Schedule: pallet_contracts::Schedule = Default::default(); pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(30); pub const MaxDelegateDependencies: u32 = 32;