Skip to content

Commit

Permalink
Merge pull request #35 from juliancwirko/release/1.4.1
Browse files Browse the repository at this point in the history
v1.4.1
  • Loading branch information
juliancwirko authored Feb 14, 2022
2 parents 9154962 + 1aef33c commit ea1b81c
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 13 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
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 Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "elven-nft-minter"
version = "1.4.0"
version = "1.4.1"
authors = ["Julian Ćwirko <julian.cwirko@gmail.com>"]
edition = "2018"
publish = false
Expand Down
4 changes: 2 additions & 2 deletions meta/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 meta/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "elven-nft-minter-meta"
version = "1.4.0"
version = "1.4.1"
authors = ["Julian Ćwirko <julian.cwirko@gmail.com>"]
edition = "2018"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion output/elven-nft-minter.abi.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"contractCrate": {
"name": "elven-nft-minter",
"version": "1.4.0"
"version": "1.4.1"
},
"framework": {
"name": "elrond-wasm",
Expand Down
Binary file modified output/elven-nft-minter.wasm
Binary file not shown.
4 changes: 1 addition & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,13 +288,11 @@ pub trait ElvenTools {
"Wrong amount of tokens!"
);

let mut vec: Vec<u32> = 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);
Expand Down
4 changes: 2 additions & 2 deletions wasm/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 wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "elven-nft-minter-wasm"
version = "1.4.0"
version = "1.4.1"
authors = ["Julian Ćwirko <julian.cwirko@gmail.com>"]
edition = "2018"
publish = false
Expand Down

0 comments on commit ea1b81c

Please sign in to comment.