mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
Bump version, spec_version & substrate in prep for release v0.9.5 (#3238)
* bump spec_version and version * bump substrate * remove migrations * Revert "remove migrations" This reverts commit ceeab924d1cd5c2d3d05f24ab28315f0566f89d8. * remove stale migration for kusama + westend
This commit is contained in:
@@ -120,7 +120,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
||||
spec_name: create_runtime_str!("kusama"),
|
||||
impl_name: create_runtime_str!("parity-kusama"),
|
||||
authoring_version: 2,
|
||||
spec_version: 9041,
|
||||
spec_version: 9050,
|
||||
impl_version: 0,
|
||||
#[cfg(not(feature = "disable-runtime-api"))]
|
||||
apis: RUNTIME_API_VERSIONS,
|
||||
@@ -1480,31 +1480,6 @@ construct_runtime! {
|
||||
}
|
||||
}
|
||||
|
||||
pub struct GrandpaStoragePrefixMigration;
|
||||
impl frame_support::traits::OnRuntimeUpgrade for GrandpaStoragePrefixMigration {
|
||||
fn on_runtime_upgrade() -> frame_support::weights::Weight {
|
||||
use frame_support::traits::PalletInfo;
|
||||
let name = <Runtime as frame_system::Config>::PalletInfo::name::<Grandpa>()
|
||||
.expect("grandpa is part of pallets in construct_runtime, so it has a name; qed");
|
||||
pallet_grandpa::migrations::v3_1::migrate::<Runtime, Grandpa, _>(name)
|
||||
}
|
||||
|
||||
#[cfg(feature = "try-runtime")]
|
||||
fn pre_upgrade() -> Result<(), &'static str> {
|
||||
use frame_support::traits::PalletInfo;
|
||||
let name = <Runtime as frame_system::Config>::PalletInfo::name::<Grandpa>()
|
||||
.expect("grandpa is part of pallets in construct_runtime, so it has a name; qed");
|
||||
pallet_grandpa::migrations::v3_1::pre_migration::<Runtime, Grandpa, _>(name);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[cfg(feature = "try-runtime")]
|
||||
fn post_upgrade() -> Result<(), &'static str> {
|
||||
pallet_grandpa::migrations::v3_1::post_migration::<Grandpa>();
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
/// The address format for describing accounts.
|
||||
pub type Address = sp_runtime::MultiAddress<AccountId, ()>;
|
||||
/// Block header type as expected by this runtime.
|
||||
@@ -1534,7 +1509,6 @@ pub type Executive = frame_executive::Executive<
|
||||
frame_system::ChainContext<Runtime>,
|
||||
Runtime,
|
||||
AllPallets,
|
||||
GrandpaStoragePrefixMigration,
|
||||
>;
|
||||
/// The payload being signed in the transactions.
|
||||
pub type SignedPayload = generic::SignedPayload<Call, SignedExtra>;
|
||||
|
||||
Reference in New Issue
Block a user