Skip to content

Commit

Permalink
fix: octopus migration (#154)
Browse files Browse the repository at this point in the history
fix: octopus migrations
  • Loading branch information
irmannmal authored Jan 30, 2023
1 parent 8f39b03 commit e6c772f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ pub type Executive = frame_executive::Executive<
ChainContext<Runtime>,
Runtime,
AllPalletsWithSystem,
Migrations,
>;
pub type CollectionId = u128;
pub type ItemId = u128;
Expand Down Expand Up @@ -724,11 +725,11 @@ impl pallet_tipping::Config for Runtime {
type WeightInfo = ();
}

// type Migrations = (
// // This migration is used to set the interval value in the upward-messages. It should be
// // deleted after the upgrade.
// SetIntervalValueRuntimeUpgrade,
// );
type Migrations = (
// This migration is used to set the interval value in the upward-messages. It should be
// deleted after the upgrade.
SetIntervalValueRuntimeUpgrade,
);

/// Please set the value of interval according to your own needs.
const INTERVAL: u32 = 1;
Expand Down

0 comments on commit e6c772f

Please sign in to comment.