Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump foucoco spec version to 20 #496

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
104 changes: 52 additions & 52 deletions runtime/foucoco/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -334,56 +334,56 @@ impl Contains<RuntimeCall> 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.
}
}
}
Expand Down Expand Up @@ -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<Runtime> = Default::default();
pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(30);
pub const MaxDelegateDependencies: u32 = 32;
Expand Down
Loading