From ece34bd0894c97e52a588c4a90aa34c9a5523525 Mon Sep 17 00:00:00 2001 From: Adel Golghalyani Date: Thu, 9 Nov 2023 13:22:51 +0100 Subject: [PATCH 1/5] bump dev version --- Cargo.lock | 44 ++++++++++++++++++++++---------------------- Cargo.toml | 2 +- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dae6c6d18..219631faa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -458,7 +458,7 @@ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "attestation" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "ctype", "frame-benchmarking", @@ -1444,7 +1444,7 @@ dependencies = [ [[package]] name = "ctype" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "frame-benchmarking", "frame-support", @@ -2160,7 +2160,7 @@ dependencies = [ [[package]] name = "delegation" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "attestation", "bitflags 1.3.2", @@ -2304,7 +2304,7 @@ dependencies = [ [[package]] name = "did" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "ctype", "env_logger 0.10.0", @@ -4250,7 +4250,7 @@ dependencies = [ [[package]] name = "kestrel-runtime" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "attestation", "ctype", @@ -4303,7 +4303,7 @@ dependencies = [ [[package]] name = "kilt-asset-dids" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "base58", "frame-support", @@ -4318,7 +4318,7 @@ dependencies = [ [[package]] name = "kilt-parachain" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "clap", "cumulus-client-cli", @@ -4382,7 +4382,7 @@ dependencies = [ [[package]] name = "kilt-runtime-api-did" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "did", "frame-system", @@ -4395,7 +4395,7 @@ dependencies = [ [[package]] name = "kilt-runtime-api-public-credentials" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "kilt-support", "parity-scale-codec", @@ -4405,7 +4405,7 @@ dependencies = [ [[package]] name = "kilt-runtime-api-staking" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "parity-scale-codec", "scale-info", @@ -4415,7 +4415,7 @@ dependencies = [ [[package]] name = "kilt-support" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "frame-support", "frame-system", @@ -6133,7 +6133,7 @@ dependencies = [ [[package]] name = "pallet-configuration" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "cumulus-pallet-parachain-system", "frame-benchmarking", @@ -6187,7 +6187,7 @@ dependencies = [ [[package]] name = "pallet-did-lookup" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "base58", "blake2", @@ -6364,7 +6364,7 @@ dependencies = [ [[package]] name = "pallet-inflation" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "frame-benchmarking", "frame-support", @@ -6416,7 +6416,7 @@ dependencies = [ [[package]] name = "pallet-migration" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "attestation", "ctype", @@ -6956,7 +6956,7 @@ dependencies = [ [[package]] name = "pallet-web3-names" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "frame-benchmarking", "frame-support", @@ -7044,7 +7044,7 @@ dependencies = [ [[package]] name = "parachain-staking" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "frame-benchmarking", "frame-support", @@ -7243,7 +7243,7 @@ checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" [[package]] name = "peregrine-runtime" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "attestation", "ctype", @@ -8937,7 +8937,7 @@ dependencies = [ [[package]] name = "public-credentials" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "ctype", "frame-benchmarking", @@ -9510,7 +9510,7 @@ dependencies = [ [[package]] name = "runtime-common" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "attestation", "cumulus-pallet-dmp-queue", @@ -12049,7 +12049,7 @@ dependencies = [ [[package]] name = "spiritnet-runtime" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "attestation", "ctype", @@ -12169,7 +12169,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "standalone-node" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "clap", "frame-benchmarking", diff --git a/Cargo.toml b/Cargo.toml index 735e31f2b..a931ca351 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://kilt.io/" license-file = "LICENSE" readme = "README.md" repository = "/~https://github.com/KILTprotocol/kilt-node" -version = "1.12.0-dev" +version = "1.13.0-dev" [workspace] members = [ From 1af49a7b5569bab0799fb24fee9a4757df2533c4 Mon Sep 17 00:00:00 2001 From: Adel Golghalyani Date: Fri, 9 Feb 2024 10:30:44 +0100 Subject: [PATCH 2/5] bump spec version --- runtimes/kestrel/src/lib.rs | 2 +- runtimes/peregrine/src/lib.rs | 2 +- runtimes/spiritnet/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtimes/kestrel/src/lib.rs b/runtimes/kestrel/src/lib.rs index 66ccc621e..daa28e628 100644 --- a/runtimes/kestrel/src/lib.rs +++ b/runtimes/kestrel/src/lib.rs @@ -118,7 +118,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kilt-kestrel"), impl_name: create_runtime_str!("kilt-kestrel"), authoring_version: 4, - spec_version: 11200, + spec_version: 11300, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 4, diff --git a/runtimes/peregrine/src/lib.rs b/runtimes/peregrine/src/lib.rs index 9fc8776cd..ce895bc10 100644 --- a/runtimes/peregrine/src/lib.rs +++ b/runtimes/peregrine/src/lib.rs @@ -93,7 +93,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("mashnet-node"), impl_name: create_runtime_str!("mashnet-node"), authoring_version: 4, - spec_version: 11200, + spec_version: 11300, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 6, diff --git a/runtimes/spiritnet/src/lib.rs b/runtimes/spiritnet/src/lib.rs index 8aab59773..ed99eba01 100644 --- a/runtimes/spiritnet/src/lib.rs +++ b/runtimes/spiritnet/src/lib.rs @@ -93,7 +93,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kilt-spiritnet"), impl_name: create_runtime_str!("kilt-spiritnet"), authoring_version: 1, - spec_version: 11200, + spec_version: 11300, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 6, From 9ed1711f3cd2f176a5b18815db9a9045394776f0 Mon Sep 17 00:00:00 2001 From: Adel Golghalyani Date: Fri, 9 Feb 2024 10:51:50 +0100 Subject: [PATCH 3/5] remove migrations --- pallets/parachain-staking/src/lib.rs | 1 - pallets/parachain-staking/src/migrations.rs | 161 -------------------- pallets/parachain-staking/src/types.rs | 1 - runtimes/common/src/migrations.rs | 24 +-- runtimes/peregrine/src/lib.rs | 5 +- runtimes/spiritnet/src/lib.rs | 5 +- 6 files changed, 4 insertions(+), 193 deletions(-) delete mode 100644 pallets/parachain-staking/src/migrations.rs diff --git a/pallets/parachain-staking/src/lib.rs b/pallets/parachain-staking/src/lib.rs index c36def60c..36719372c 100644 --- a/pallets/parachain-staking/src/lib.rs +++ b/pallets/parachain-staking/src/lib.rs @@ -129,7 +129,6 @@ mod try_state; pub mod api; mod inflation; -pub mod migrations; mod set; mod types; diff --git a/pallets/parachain-staking/src/migrations.rs b/pallets/parachain-staking/src/migrations.rs deleted file mode 100644 index 8ab11ab92..000000000 --- a/pallets/parachain-staking/src/migrations.rs +++ /dev/null @@ -1,161 +0,0 @@ -// KILT Blockchain – https://botlabs.org -// Copyright (C) 2019-2023 BOTLabs GmbH - -// The KILT Blockchain is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - -// The KILT Blockchain is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . - -// If you feel like getting in touch with us, you can do so at info@botlabs.org - -use frame_support::{ - traits::{ - fungible::freeze::Mutate as MutateFreeze, Get, GetStorageVersion, LockIdentifier, LockableCurrency, - OnRuntimeUpgrade, ReservableCurrency, StorageVersion, - }, - weights::Weight, -}; -use pallet_balances::{BalanceLock, Freezes, IdAmount, Locks}; -use sp_runtime::SaturatedConversion; -use sp_std::marker::PhantomData; - -#[cfg(feature = "try-runtime")] -use sp_runtime::TryRuntimeError; - -use crate::{ - types::{AccountIdOf, CurrencyOf}, - Config, FreezeReason, Pallet, STORAGE_VERSION as TARGET_STORAGE_VERSION, -}; - -const STAKING_ID: LockIdentifier = *b"kiltpstk"; - -const CURRENT_STORAGE_VERSION: StorageVersion = StorageVersion::new(8); - -pub struct BalanceMigration(PhantomData); - -impl OnRuntimeUpgrade for BalanceMigration -where - ::Currency: ReservableCurrency, - ::Currency: LockableCurrency, -{ - fn on_runtime_upgrade() -> frame_support::weights::Weight { - log::info!("Staking: Initiating migration"); - - let onchain_storage_version = Pallet::::on_chain_storage_version(); - if onchain_storage_version == CURRENT_STORAGE_VERSION { - TARGET_STORAGE_VERSION.put::>(); - ::DbWeight::get() - .reads_writes(1, 1) - .saturating_add(do_migration::()) - } else { - log::info!( - "Staking: No migration needed. This file should be deleted. Current storage version: {:?}, Required Version for update: {:?}", - onchain_storage_version, - CURRENT_STORAGE_VERSION - ); - ::DbWeight::get().reads(1) - } - } - - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, TryRuntimeError> { - use sp_runtime::traits::Zero; - use sp_std::vec; - - let count_freezes = pallet_balances::Freezes::::iter().count(); - assert!(count_freezes.is_zero(), "Staking Pre: There are already freezes."); - - assert_eq!(Pallet::::on_chain_storage_version(), CURRENT_STORAGE_VERSION); - - log::info!("Staking: Pre migration checks successful"); - - Ok(vec![]) - } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(_pre_state: sp_std::vec::Vec) -> Result<(), TryRuntimeError> { - use sp_runtime::traits::Zero; - - let count_freezes = pallet_balances::Freezes::::iter().count(); - - assert!(!count_freezes.is_zero(), "Staking: There are still no freezes."); - - assert_eq!(Pallet::::on_chain_storage_version(), TARGET_STORAGE_VERSION); - - log::info!("Staking: Post migration checks successful"); - - Ok(()) - } -} - -fn do_migration() -> Weight -where - ::Currency: ReservableCurrency, - ::Currency: LockableCurrency, -{ - Locks::::iter() - .map(|(user_id, locks)| { - let weight = locks - .iter() - .map(|lock: &BalanceLock<_>| -> Weight { - if lock.id == STAKING_ID { - return update_or_create_freeze::(user_id.clone(), lock); - } - ::DbWeight::get().reads_writes(0, 0) - }) - .fold(Weight::zero(), |acc, next| acc.saturating_add(next)); - weight - }) - .fold(Weight::zero(), |acc, next| acc.saturating_add(next)) -} - -fn update_or_create_freeze( - user_id: T::AccountId, - lock: &BalanceLock<::Balance>, -) -> Weight -where - CurrencyOf: LockableCurrency>, -{ - let freezes = Freezes::::get(&user_id); - - let result = if let Some(IdAmount { amount, .. }) = freezes - .iter() - .find(|freeze| freeze.id == ::FreezeIdentifier::from(FreezeReason::Staking).into()) - { - let total_lock = lock - .amount - .saturated_into::() - .saturating_add((*amount).saturated_into()); - - as MutateFreeze>>::extend_freeze( - &::FreezeIdentifier::from(FreezeReason::Staking), - &user_id, - total_lock.saturated_into(), - ) - } else { - as MutateFreeze>>::set_freeze( - &::FreezeIdentifier::from(FreezeReason::Staking), - &user_id, - lock.amount.saturated_into(), - ) - }; - - as LockableCurrency>>::remove_lock(STAKING_ID, &user_id); - - if result.is_err() { - return ::DbWeight::get().reads(1); - } - - // Currency::reserve and Currency::hold each read and write to the DB once. - // Since we are uncertain about which operation may fail, in the event of an - // error, we assume the worst-case scenario here. - ::DbWeight::get().reads_writes(2, 2) -} diff --git a/pallets/parachain-staking/src/types.rs b/pallets/parachain-staking/src/types.rs index f73198a78..731a17561 100644 --- a/pallets/parachain-staking/src/types.rs +++ b/pallets/parachain-staking/src/types.rs @@ -312,7 +312,6 @@ pub struct DelegationCounter { pub counter: u32, } -pub type CurrencyOf = ::Currency; pub type AccountIdOf = ::AccountId; pub type BalanceOf = <::Currency as Inspect>>::Balance; pub type CandidateOf = Candidate, BalanceOf, S>; diff --git a/runtimes/common/src/migrations.rs b/runtimes/common/src/migrations.rs index c5a3f06e0..cb665315d 100644 --- a/runtimes/common/src/migrations.rs +++ b/runtimes/common/src/migrations.rs @@ -16,12 +16,7 @@ // If you feel like getting in touch with us, you can do so at info@botlabs.org -use frame_support::{ - traits::{GetStorageVersion, OnRuntimeUpgrade}, - weights::Weight, -}; - -use pallet_membership::Instance2; +use frame_support::{traits::OnRuntimeUpgrade, weights::Weight}; use sp_core::Get; use sp_std::marker::PhantomData; @@ -34,25 +29,10 @@ pub struct BumpStorageVersion(PhantomData); impl OnRuntimeUpgrade for BumpStorageVersion where T: frame_system::Config, - T: pallet_tips::Config, - T: pallet_multisig::Config, - T: cumulus_pallet_parachain_system::Config, - T: pallet_membership::Config, - T: cumulus_pallet_xcmp_queue::Config, - T: cumulus_pallet_dmp_queue::Config, { fn on_runtime_upgrade() -> Weight { log::info!("BumpStorageVersion: Initiating migration"); - pallet_tips::Pallet::::current_storage_version().put::>(); - cumulus_pallet_parachain_system::Pallet::::current_storage_version() - .put::>(); - cumulus_pallet_xcmp_queue::Pallet::::current_storage_version().put::>(); - pallet_membership::Pallet::::current_storage_version() - .put::>(); - cumulus_pallet_dmp_queue::Pallet::::current_storage_version().put::>(); - pallet_multisig::Pallet::::current_storage_version().put::>(); - - ::DbWeight::get().writes(6) + ::DbWeight::get().writes(0) } } diff --git a/runtimes/peregrine/src/lib.rs b/runtimes/peregrine/src/lib.rs index ce895bc10..a0240c704 100644 --- a/runtimes/peregrine/src/lib.rs +++ b/runtimes/peregrine/src/lib.rs @@ -1107,10 +1107,7 @@ pub type Executive = frame_executive::Executive< Runtime, // Executes pallet hooks in the order of definition in construct_runtime AllPalletsWithSystem, - ( - runtime_common::migrations::BumpStorageVersion, - parachain_staking::migrations::BalanceMigration, - ), + (), >; #[cfg(feature = "runtime-benchmarks")] diff --git a/runtimes/spiritnet/src/lib.rs b/runtimes/spiritnet/src/lib.rs index ed99eba01..84665452e 100644 --- a/runtimes/spiritnet/src/lib.rs +++ b/runtimes/spiritnet/src/lib.rs @@ -1092,10 +1092,7 @@ pub type Executive = frame_executive::Executive< Runtime, // Executes pallet hooks in the order of definition in construct_runtime AllPalletsWithSystem, - ( - runtime_common::migrations::BumpStorageVersion, - parachain_staking::migrations::BalanceMigration, - ), + (), >; #[cfg(feature = "runtime-benchmarks")] From 699f50cccbe57b182df5e90458d07d117f38b434 Mon Sep 17 00:00:00 2001 From: Adel Golghalyani Date: Fri, 9 Feb 2024 10:58:29 +0100 Subject: [PATCH 4/5] clean up --- Cargo.lock | 24 ++++++++++++------------ runtimes/peregrine/src/lib.rs | 8 -------- runtimes/spiritnet/src/lib.rs | 8 -------- 3 files changed, 12 insertions(+), 28 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 53f1eb4d8..a23f145d6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1052,7 +1052,7 @@ checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" [[package]] name = "clone-runtime" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -2431,7 +2431,7 @@ dependencies = [ [[package]] name = "dip-consumer-node-template" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "clap", "cumulus-client-cli", @@ -2483,7 +2483,7 @@ dependencies = [ [[package]] name = "dip-consumer-runtime-template" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -2537,7 +2537,7 @@ dependencies = [ [[package]] name = "dip-provider-node-template" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "clap", "cumulus-client-cli", @@ -2589,7 +2589,7 @@ dependencies = [ [[package]] name = "dip-provider-runtime-template" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -4611,7 +4611,7 @@ dependencies = [ [[package]] name = "kilt-dip-primitives" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "cfg-if", "cumulus-pallet-parachain-system", @@ -4721,7 +4721,7 @@ dependencies = [ [[package]] name = "kilt-runtime-api-dip-provider" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "parity-scale-codec", "sp-api", @@ -6545,7 +6545,7 @@ dependencies = [ [[package]] name = "pallet-deposit-storage" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "frame-benchmarking", "frame-support", @@ -6591,7 +6591,7 @@ dependencies = [ [[package]] name = "pallet-dip-consumer" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "cfg-if", "frame-benchmarking", @@ -6609,7 +6609,7 @@ dependencies = [ [[package]] name = "pallet-dip-provider" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "did", "frame-benchmarking", @@ -6999,7 +6999,7 @@ dependencies = [ [[package]] name = "pallet-postit" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "frame-support", "frame-system", @@ -7095,7 +7095,7 @@ dependencies = [ [[package]] name = "pallet-relay-store" -version = "1.12.0-dev" +version = "1.13.0-dev" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", diff --git a/runtimes/peregrine/src/lib.rs b/runtimes/peregrine/src/lib.rs index f60198e40..d1584d3ea 100644 --- a/runtimes/peregrine/src/lib.rs +++ b/runtimes/peregrine/src/lib.rs @@ -1116,15 +1116,7 @@ pub type Executive = frame_executive::Executive< Runtime, // Executes pallet hooks in the order of definition in construct_runtime AllPalletsWithSystem, -<<<<<<< HEAD (), -======= - ( - runtime_common::migrations::BumpStorageVersion, - parachain_staking::migrations::BalanceMigration, - pallet_xcm::migration::v1::MigrateToV1, - ), ->>>>>>> develop >; #[cfg(feature = "runtime-benchmarks")] diff --git a/runtimes/spiritnet/src/lib.rs b/runtimes/spiritnet/src/lib.rs index 4d51a2c59..eb7fe2726 100644 --- a/runtimes/spiritnet/src/lib.rs +++ b/runtimes/spiritnet/src/lib.rs @@ -1092,15 +1092,7 @@ pub type Executive = frame_executive::Executive< Runtime, // Executes pallet hooks in the order of definition in construct_runtime AllPalletsWithSystem, -<<<<<<< HEAD (), -======= - ( - runtime_common::migrations::BumpStorageVersion, - parachain_staking::migrations::BalanceMigration, - pallet_xcm::migration::v1::MigrateToV1, - ), ->>>>>>> develop >; #[cfg(feature = "runtime-benchmarks")] From e0c4a3d6747b54641ab25c43afbb6b248ebfd2f5 Mon Sep 17 00:00:00 2001 From: Adel Golghalyani Date: Thu, 14 Mar 2024 09:14:53 +0100 Subject: [PATCH 5/5] increase runtime version for dip revert fmt --- dip-template/runtimes/dip-consumer/src/lib.rs | 2 +- dip-template/runtimes/dip-provider/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dip-template/runtimes/dip-consumer/src/lib.rs b/dip-template/runtimes/dip-consumer/src/lib.rs index 12f46fc27..146079d2d 100644 --- a/dip-template/runtimes/dip-consumer/src/lib.rs +++ b/dip-template/runtimes/dip-consumer/src/lib.rs @@ -155,7 +155,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("dip-consumer-runtime-template"), impl_name: create_runtime_str!("dip-consumer-runtime-template"), authoring_version: 1, - spec_version: 11100, + spec_version: 11300, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/dip-template/runtimes/dip-provider/src/lib.rs b/dip-template/runtimes/dip-provider/src/lib.rs index 36d7e0a54..5ebb7ce1e 100644 --- a/dip-template/runtimes/dip-provider/src/lib.rs +++ b/dip-template/runtimes/dip-provider/src/lib.rs @@ -156,7 +156,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("dip-provider-runtime-template"), impl_name: create_runtime_str!("dip-provider-runtime-template"), authoring_version: 1, - spec_version: 11100, + spec_version: 11300, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1,