Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
taitruong committed Mar 19, 2024
1 parent 0d7e1ad commit a2e7532
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ use cw721_base::execute::Cw721Execute;
/// (2) legacy contract info migration -> collection metadata
/// - before v0.19 there was only contract info
/// - now we have collection metadata with optional extension
/// - here it is migrated to the new format with empty extension
/// (3) optional creator and minter reset (as passed in Cw721MigrateMsg::WithUpdate)
/// (4) contract name and version
///
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
use crate::{
entry::{CONTRACT_NAME, CONTRACT_VERSION},
ContractError, Sg721Contract,
};
use cw721_base::execute::Cw721Execute;
use crate::{ContractError, Sg721Contract};

use cosmwasm_std::{DepsMut, Empty, Env, Event, Response};
use cw721::{
msg::Cw721MigrateMsg, DefaultOptionCollectionMetadataExtension,
DefaultOptionCollectionMetadataExtensionMsg, DefaultOptionNftMetadataExtension,
DefaultOptionNftMetadataExtensionMsg,
DefaultOptionCollectionMetadataExtension, DefaultOptionCollectionMetadataExtensionMsg,
DefaultOptionNftMetadataExtension, DefaultOptionNftMetadataExtensionMsg,
};

pub fn upgrade(deps: DepsMut, env: &Env, response: Response) -> Result<Response, ContractError> {
Expand Down

0 comments on commit a2e7532

Please sign in to comment.