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

release: Bump amplitude spec version to 18 #499

Merged
merged 1 commit into from
Oct 7, 2024
Merged
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
102 changes: 51 additions & 51 deletions runtime/amplitude/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("amplitude"),
impl_name: create_runtime_str!("amplitude"),
authoring_version: 1,
spec_version: 18,
spec_version: 19,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 13,
Expand Down Expand Up @@ -336,54 +336,54 @@ 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::XcmpQueue(_) |
RuntimeCall::PolkadotXcm(_) |
RuntimeCall::DmpQueue(_) |
RuntimeCall::Utility(_) |
RuntimeCall::Vesting(_) |
RuntimeCall::XTokens(_) |
RuntimeCall::Multisig(_) |
RuntimeCall::Identity(_) |
RuntimeCall::Contracts(_) |
RuntimeCall::ZenlinkProtocol(_) |
RuntimeCall::VestingManager(_) |
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::TreasuryBuyoutExtension(_) |
RuntimeCall::RewardDistribution(_) |
RuntimeCall::ParachainInfo(_) |
RuntimeCall::CumulusXcm(_) |
RuntimeCall::VaultStaking(_) => true,
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::XcmpQueue(_)
| RuntimeCall::PolkadotXcm(_)
| RuntimeCall::DmpQueue(_)
| RuntimeCall::Utility(_)
| RuntimeCall::Vesting(_)
| RuntimeCall::XTokens(_)
| RuntimeCall::Multisig(_)
| RuntimeCall::Identity(_)
| RuntimeCall::Contracts(_)
| RuntimeCall::ZenlinkProtocol(_)
| RuntimeCall::VestingManager(_)
| 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::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 @@ -993,8 +993,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