Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion parachain/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion parachain/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ homepage = 'https://www.heima.network'
license = 'GPL-3.0'
name = 'heima-node'
repository = 'https://github.com/litentry/heima'
version = '0.9.26'
version = '0.9.27'

[[bin]]
name = 'heima-node'
Expand Down
13 changes: 2 additions & 11 deletions parachain/runtime/heima/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,6 @@ pub type SignedPayload = generic::SignedPayload<RuntimeCall, SignedExtra>;

/// Migrations to apply on runtime upgrade.
pub type Migrations = (
// one-shot: rescale bounded block-number/per-block state for the 12s -> 6s block-time change
// (spec_version 9262). Remove in the release after this one. The large `pallet_vesting` map is
// migrated separately as a multi-block migration, see `pallet_migrations::Config::Migrations`.
migration::block_time_6s::OnePassRescale<Runtime>,
// permanent
pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
);
Expand Down Expand Up @@ -249,7 +245,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
impl_name: alloc::borrow::Cow::Borrowed("heima"),
authoring_version: 1,
// same versioning-mechanism as polkadot: use last digit for minor updates
spec_version: 9262,
spec_version: 9270,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 2,
Expand Down Expand Up @@ -473,12 +469,7 @@ parameter_types! {
impl pallet_migrations::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
#[cfg(not(feature = "runtime-benchmarks"))]
type Migrations = (
pallet_identity::migration::v2::LazyMigrationV1ToV2<Runtime>,
// one-shot: rescale vesting schedules for the 12s -> 6s block-time change (spec 9262).
// Remove in the release after this one.
migration::block_time_6s::VestingRescaleMigration<Runtime>,
);
type Migrations = pallet_identity::migration::v2::LazyMigrationV1ToV2<Runtime>;
// Benchmarks need mocked migrations to guarantee that they succeed.
#[cfg(feature = "runtime-benchmarks")]
type Migrations = pallet_migrations::mock_helpers::MockedMigrations;
Expand Down
33 changes: 0 additions & 33 deletions parachain/runtime/heima/src/migration/block_time_6s/mod.rs

This file was deleted.

285 changes: 0 additions & 285 deletions parachain/runtime/heima/src/migration/block_time_6s/onepass.rs

This file was deleted.

Loading