From c827e7f30b48acf8222948b05c7dd64fffbeeba2 Mon Sep 17 00:00:00 2001 From: Markus Waas Date: Sun, 25 Feb 2024 07:33:53 -0600 Subject: [PATCH] fix: use only patch upgrade version * as suggested by @maxrobot --- Cargo.lock | 2 +- contracts/swap/Cargo.toml | 2 +- contracts/swap/src/contract.rs | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5946dff..6ccb2d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2366,7 +2366,7 @@ checksum = "734676eb262c623cec13c3155096e08d1f8f29adce39ba17948b18dad1e54142" [[package]] name = "swap-contract" -version = "1.1.0" +version = "1.0.1" dependencies = [ "cosmos-sdk-proto", "cosmwasm-schema", diff --git a/contracts/swap/Cargo.toml b/contracts/swap/Cargo.toml index 9e01aaf..aa57bc1 100644 --- a/contracts/swap/Cargo.toml +++ b/contracts/swap/Cargo.toml @@ -2,7 +2,7 @@ authors = [ "Markus Waas " ] edition = "2021" name = "swap-contract" -version = "1.1.0" +version = "1.0.1" exclude = [ # Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication. diff --git a/contracts/swap/src/contract.rs b/contracts/swap/src/contract.rs index aa54ca8..3702ecb 100644 --- a/contracts/swap/src/contract.rs +++ b/contracts/swap/src/contract.rs @@ -117,8 +117,6 @@ pub fn migrate( ); } "1.0.0" => { - deps.api.debug("BBB"); - set_contract_version( deps.storage, format!("crates.io:{CONTRACT_NAME}"),