diff --git a/Cargo.lock b/Cargo.lock index abafc3c..69b8bfd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -79,9 +79,9 @@ dependencies = [ [[package]] name = "bnum" -version = "0.8.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "128a44527fc0d6abf05f9eda748b9027536e12dff93f5acc8449f51583309350" +checksum = "56953345e39537a3e18bdaeba4cb0c58a78c1f61f361dc0fa7c5c7340ae87c5f" [[package]] name = "byteorder" @@ -118,9 +118,9 @@ checksum = "28c122c3980598d243d63d9a704629a2d748d101f278052ff068be5a4423ab6f" [[package]] name = "cosmwasm-crypto" -version = "1.5.0" +version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8bb3c77c3b7ce472056968c745eb501c440fbc07be5004eba02782c35bfbbe3" +checksum = "9934c79e58d9676edfd592557dee765d2a6ef54c09d5aa2edb06156b00148966" dependencies = [ "digest 0.10.7", "ecdsa", @@ -132,9 +132,9 @@ dependencies = [ [[package]] name = "cosmwasm-derive" -version = "1.5.0" +version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea73e9162e6efde00018d55ed0061e93a108b5d6ec4548b4f8ce3c706249687" +checksum = "bc5e72e330bd3bdab11c52b5ecbdeb6a8697a004c57964caeb5d876f0b088b3c" dependencies = [ "syn 1.0.109", ] @@ -165,9 +165,9 @@ dependencies = [ [[package]] name = "cosmwasm-std" -version = "1.5.0" +version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04d6864742e3a7662d024b51a94ea81c9af21db6faea2f9a6d2232bb97c6e53e" +checksum = "ef8666e572a3a2519010dde88c04d16e9339ae751b56b2bb35081fe3f7d6be74" dependencies = [ "base64", "bech32", @@ -1166,9 +1166,9 @@ dependencies = [ [[package]] name = "serde-json-wasm" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16a62a1fad1e1828b24acac8f2b468971dade7b8c3c2e672bcadefefb1f8c137" +checksum = "9e9213a07d53faa0b8dd81e767a54a8188a242fdb9be99ab75ec576a774bfdd7" dependencies = [ "serde", ] diff --git a/Cargo.toml b/Cargo.toml index c9c3423..644d29b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ license = "Apache-2.0" [workspace.dependencies] cosmwasm-schema = "1.5.3" -cosmwasm-std = "1.2.1" +cosmwasm-std = "1.5.3" omniflix-std = "0.1.3" cw-controllers = "1.1.0" cw2 = "1.1.0" diff --git a/contracts/factories/round-whitelist-factory/src/utils.rs b/contracts/factories/round-whitelist-factory/src/utils.rs index e69de29..8b13789 100644 --- a/contracts/factories/round-whitelist-factory/src/utils.rs +++ b/contracts/factories/round-whitelist-factory/src/utils.rs @@ -0,0 +1 @@ + diff --git a/contracts/minters/open-edition-minter/src/state.rs b/contracts/minters/open-edition-minter/src/state.rs index 94dd006..1f77fc1 100644 --- a/contracts/minters/open-edition-minter/src/state.rs +++ b/contracts/minters/open-edition-minter/src/state.rs @@ -14,6 +14,5 @@ pub const MINTED_TOKENS: Map = Map::new("minted_tokens"); pub const AUTH_DETAILS: Item = Item::new("auth_details"); pub fn last_token_id(store: &mut dyn Storage) -> u32 { - MINTED_COUNT.load(store).unwrap_or_default() } diff --git a/integration-tests/src/utils.rs b/integration-tests/src/utils.rs index 54a5136..7ed35d4 100644 --- a/integration-tests/src/utils.rs +++ b/integration-tests/src/utils.rs @@ -52,7 +52,7 @@ pub fn return_minter_instantiate_msg() -> CreateMinterMsg { nsfw: false, data: None, }; - + CreateMinterMsg { collection_details, token_details, @@ -103,7 +103,7 @@ pub fn return_open_edition_minter_inst_msg() -> OpenEditionMinterCreateMsg { nsfw: false, data: None, }; - + OpenEditionMinterCreateMsg { collection_details, init, @@ -144,6 +144,6 @@ pub fn return_factory_inst_message(code_id: u64) -> InstantiateMsg { product_label: "label".to_string(), init: Empty {}, }; - + InstantiateMsg { params } } diff --git a/packages/minter-types/src/lib.rs b/packages/minter-types/src/lib.rs index 7d7356e..4ff7011 100644 --- a/packages/minter-types/src/lib.rs +++ b/packages/minter-types/src/lib.rs @@ -64,8 +64,6 @@ pub struct UserDetails { pub public_mint_count: u32, } - - #[cw_serde] pub struct Token { pub token_id: String,