Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pgherveou committed May 2, 2023
1 parent 157dae8 commit d0b38dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame/contracts/src/migration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ pub trait MigrateSequence: private::Sealed {
fn integrity_test();

/// Returns whether migration from `in_storage` to `target` is supported.
/// A migration is supported if (in_storage + 1, target) == VERSION_RANGE.
/// A migration is supported if (in_storage + 1, target) is contained by `VERSION_RANGE`.
fn is_upgrade_supported(in_storage: StorageVersion, target: StorageVersion) -> bool {
if in_storage == target {
return true
Expand Down

0 comments on commit d0b38dd

Please sign in to comment.