Skip to content

Commit

Permalink
update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jhernandezb committed Jun 19, 2023
1 parent d17c92e commit b9321ea
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 26 deletions.
70 changes: 50 additions & 20 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ cw-controllers = "1.0.1"
cw2 = "1.0.1"
cw4 = "1.0.1"
cw4-group = "1.0.1"
cw721 = { git = "https://github.com/CosmWasm/cw-nfts/", branch="main" }
cw721-base = { git = "https://github.com/CosmWasm/cw-nfts/", branch="main" }
cw721 = { git = "https://github.com/CosmWasm/cw-nfts/", rev="8ff32222d4e4c261159d19a384218bd96c63ae23" }
cw721-base = { git = "https://github.com/CosmWasm/cw-nfts/", rev="8ff32222d4e4c261159d19a384218bd96c63ae23" }
cw-multi-test = "0.16.2"
cw-storage-plus = "1.0.1"
cw-utils = "1.0.1"
Expand Down
4 changes: 2 additions & 2 deletions contracts/collections/sg721-base/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ pub mod entry {
info: MessageInfo,
msg: InstantiateMsg,
) -> Result<Response, ContractError> {
set_contract_version(deps.storage, CONTRACT_NAME, CONTRACT_VERSION)?;
set_contract_version(deps.storage, CONTRACT_NAME, TO_VERSION)?;

let res = Sg721Contract::<Extension>::default().instantiate(deps, env, info, msg)?;

Ok(res
.add_attribute("contract_name", CONTRACT_NAME)
.add_attribute("contract_version", CONTRACT_VERSION))
.add_attribute("contract_version", TO_VERSION))
}

#[cfg_attr(not(feature = "library"), entry_point)]
Expand Down
2 changes: 1 addition & 1 deletion contracts/factories/open-edition-factory/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use crate::state::SUDO_PARAMS;

// version info for migration info
const CONTRACT_NAME: &str = "crates.io:open-edition-factory";
const CONTRACT_VERSION: &str = env!("CARGO_PKG_VERSION");
const CONTRACT_VERSION: &str = "3.0.0";

/// Can only be called by governance
#[cfg_attr(not(feature = "library"), entry_point)]
Expand Down
2 changes: 1 addition & 1 deletion contracts/minters/open-edition-minter/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub type SubMsg = cosmwasm_std::SubMsg<StargazeMsgWrapper>;

// version info for migration info
const CONTRACT_NAME: &str = "crates.io:sg-open-edition-minter";
const CONTRACT_VERSION: &str = env!("CARGO_PKG_VERSION");
const CONTRACT_VERSION: &str = "3.0.0";

const INSTANTIATE_SG721_REPLY_ID: u64 = 1;

Expand Down

0 comments on commit b9321ea

Please sign in to comment.