From 71dd1093be2eb4b8cdce646ed2fe1f879de6e120 Mon Sep 17 00:00:00 2001 From: noah Date: Mon, 22 Jul 2024 03:56:52 -0400 Subject: [PATCH] updated migrate versions (#855) --- packages/dao-pre-propose-base/src/execute.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/dao-pre-propose-base/src/execute.rs b/packages/dao-pre-propose-base/src/execute.rs index 5e47b154a..bba2db9f1 100644 --- a/packages/dao-pre-propose-base/src/execute.rs +++ b/packages/dao-pre-propose-base/src/execute.rs @@ -615,8 +615,9 @@ where ) -> Result { match msg { MigrateMsg::FromUnderV250 { policy } => { - // all contracts >= v2.0.0 and < v2.5.0 have the same config - let required_str = ">=2.0.0, <2.5.0"; + // all contracts >= v2.4.1 and < v2.5.0 have the same config + let required_str = ">=2.4.1, <2.5.0"; + // ensure acceptable version let requirement = VersionReq::parse(required_str).unwrap(); let ContractVersion { version, .. } = get_contract_version(deps.storage)?;