Skip to content

Commit

Permalink
remove deprecated code
Browse files Browse the repository at this point in the history
  • Loading branch information
playX18 committed Nov 12, 2024
1 parent b20b606 commit 3cddb40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/gear-messenger/src/migrations/context_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl<T: Config> OnRuntimeUpgrade for RemoveCommitStorage<T> {

#[cfg(feature = "try-runtime")]
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError> {
let current = Pallet::<T>::current_storage_version();
let current = Pallet::<T>::in_code_storage_version();
let onchain = Pallet::<T>::on_chain_storage_version();

if onchain == MIGRATE_FROM_VERSION {
Expand Down

0 comments on commit 3cddb40

Please sign in to comment.