Skip to content
Merged
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 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 runtime/hydradx/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hydradx-runtime"
version = "394.0.0"
version = "395.0.0"
authors = ["GalacticCouncil"]
edition = "2021"
license = "Apache 2.0"
Expand Down
2 changes: 1 addition & 1 deletion runtime/hydradx/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: Cow::Borrowed("hydradx"),
impl_name: Cow::Borrowed("hydradx"),
authoring_version: 1,
spec_version: 394,
spec_version: 395,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down
327 changes: 0 additions & 327 deletions runtime/hydradx/src/migrations/asset_registry.rs

This file was deleted.

7 changes: 2 additions & 5 deletions runtime/hydradx/src/migrations/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

use crate::migrations::asset_registry::MigrateAssetRegistryToXcmV5;
use crate::Runtime;

mod asset_registry;

// New migrations which need to be cleaned up after every Runtime upgrade
pub type UnreleasedSingleBlockMigrations = MigrateAssetRegistryToXcmV5<Runtime>;
pub type UnreleasedSingleBlockMigrations = ();

// These migrations can run on every runtime upgrade
pub type PermanentSingleBlockMigrations = pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>;
Expand All @@ -28,4 +25,4 @@ pub type SingleBlockMigrationsList = (PermanentSingleBlockMigrations, Unreleased

// Multi-block migrations executed by pallet-migrations
#[cfg(not(feature = "runtime-benchmarks"))]
pub type MultiBlockMigrationsList<Runtime> = pallet_identity::migration::v2::LazyMigrationV1ToV2<Runtime>;
pub type MultiBlockMigrationsList = ();
2 changes: 1 addition & 1 deletion runtime/hydradx/src/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ parameter_types! {
impl pallet_migrations::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
#[cfg(not(feature = "runtime-benchmarks"))]
type Migrations = migrations::MultiBlockMigrationsList<Runtime>;
type Migrations = migrations::MultiBlockMigrationsList;
#[cfg(feature = "runtime-benchmarks")]
type Migrations = pallet_migrations::mock_helpers::MockedMigrations;
type CursorMaxLen = ConstU32<65_536>;
Expand Down
Loading