Skip to content

Commit

Permalink
fix: use only patch upgrade version
Browse files Browse the repository at this point in the history
* as suggested by @maxrobot
  • Loading branch information
gorgos committed Feb 25, 2024
1 parent 9a0b624 commit c827e7f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion contracts/swap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = [ "Markus Waas <[email protected]>" ]
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.
Expand Down
2 changes: 0 additions & 2 deletions contracts/swap/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ pub fn migrate(
);
}
"1.0.0" => {
deps.api.debug("BBB");

set_contract_version(
deps.storage,
format!("crates.io:{CONTRACT_NAME}"),
Expand Down

0 comments on commit c827e7f

Please sign in to comment.