diff --git a/CHANGELOG.md b/CHANGELOG.md index 57d13d8..f2bce0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ -### [1.4.0](https://github.com/juliancwirko/elven-nft-minter-sc/releases/tag/v1.4.0) (2022-02-11) +### [1.4.1](https://github.com/juliancwirko/elven-tools-cli/releases/tag/v1.4.1) (2022-02-14) +- fix populate indexes after changes in the Elrond's architecture, check out: [#34](https://github.com/juliancwirko/elven-nft-minter-sc/issues/34) for more details. It results in more transactions that have to be done. But for now, it is necessary. + +### [1.4.0](https://github.com/juliancwirko/elven-nft-minter-sc/releases/tag/v1.4.0) (2022-02-13) - allowlist functionality - when you enable it, only eligible addresses from the list can mint. You can add more addresses at any time. The amount of tokens per address is the same as usual. You can always change that per drop. - replace all storage `set` to `set_if_empty` - preparation for the upgrade tests and CLI tooling diff --git a/Cargo.lock b/Cargo.lock index 866ce4c..1608bb2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -164,7 +164,7 @@ dependencies = [ [[package]] name = "elven-nft-minter" -version = "1.4.0" +version = "1.4.1" dependencies = [ "elrond-wasm", "elrond-wasm-debug", diff --git a/Cargo.toml b/Cargo.toml index 5fa12a3..c95a406 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "elven-nft-minter" -version = "1.4.0" +version = "1.4.1" authors = ["Julian Ćwirko "] edition = "2018" publish = false diff --git a/meta/Cargo.lock b/meta/Cargo.lock index e9ba9b8..f590856 100644 --- a/meta/Cargo.lock +++ b/meta/Cargo.lock @@ -164,14 +164,14 @@ dependencies = [ [[package]] name = "elven-nft-minter" -version = "1.4.0" +version = "1.4.1" dependencies = [ "elrond-wasm", ] [[package]] name = "elven-nft-minter-meta" -version = "1.4.0" +version = "1.4.1" dependencies = [ "elrond-wasm", "elrond-wasm-debug", diff --git a/meta/Cargo.toml b/meta/Cargo.toml index 90a230f..c3f5c92 100644 --- a/meta/Cargo.toml +++ b/meta/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "elven-nft-minter-meta" -version = "1.4.0" +version = "1.4.1" authors = ["Julian Ćwirko "] edition = "2018" publish = false diff --git a/output/elven-nft-minter.abi.json b/output/elven-nft-minter.abi.json index b9080e7..075c548 100644 --- a/output/elven-nft-minter.abi.json +++ b/output/elven-nft-minter.abi.json @@ -9,7 +9,7 @@ }, "contractCrate": { "name": "elven-nft-minter", - "version": "1.4.0" + "version": "1.4.1" }, "framework": { "name": "elrond-wasm", diff --git a/output/elven-nft-minter.wasm b/output/elven-nft-minter.wasm index eae623a..58d7f8a 100755 Binary files a/output/elven-nft-minter.wasm and b/output/elven-nft-minter.wasm differ diff --git a/src/lib.rs b/src/lib.rs index aa2daa3..b5ba146 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -288,13 +288,11 @@ pub trait ElvenTools { "Wrong amount of tokens!" ); - let mut vec: Vec = Vec::new(); let from = v_mapper_len + 1; let to = from + amount - 1; for i in from..=to { - vec.push(i); + v_mapper.push(&i); } - v_mapper.extend_from_slice(&vec); if amount_of_tokens == total_amount { self.initial_indexes_populate_done().set(true); diff --git a/wasm/Cargo.lock b/wasm/Cargo.lock index 7db55f6..33595f1 100644 --- a/wasm/Cargo.lock +++ b/wasm/Cargo.lock @@ -108,14 +108,14 @@ dependencies = [ [[package]] name = "elven-nft-minter" -version = "1.4.0" +version = "1.4.1" dependencies = [ "elrond-wasm", ] [[package]] name = "elven-nft-minter-wasm" -version = "1.4.0" +version = "1.4.1" dependencies = [ "elrond-wasm-node", "elrond-wasm-output", diff --git a/wasm/Cargo.toml b/wasm/Cargo.toml index 4319571..9bfa926 100644 --- a/wasm/Cargo.toml +++ b/wasm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "elven-nft-minter-wasm" -version = "1.4.0" +version = "1.4.1" authors = ["Julian Ćwirko "] edition = "2018" publish = false