Skip to content

Commit

Permalink
tested, reviewed and deployed to devnet #40. ready for main
Browse files Browse the repository at this point in the history
  • Loading branch information
newbreedofgeek committed Mar 16, 2023
1 parent 1609717 commit a8aaebc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ This smart contract aims to offer the Elrond community an audited NFT minter sma
### Setting up dev environment (project development bootstrap)

- Uses `multiversx-sc-* 0.39.4` SDK libs (see Cargo.toml)
- Building requires minimum **mxpy 5.2.3** (newer version should also work but devs used 5.2.3). Check version using `mxpy --version`
- Building requires minimum **mxpy 6.1.1** (newer version should also work but devs used 6.1.1). Check version using `mxpy --version`
- To build the project, requires minimum Rust version `1.68.0-nightly`. Check your Rust version by running `rustc --version`. To update your Rust, run `rustup update`. To set to nightly run `rustup default nightly` (devs used 1.69.0-nightly)
- After you make sure you have the minimum Rust version you can then begin development. After you clone repo and before you run build, deploy or run the tests - follow these steps (most likely only needed the 1st time)

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ pub trait DataNftMint:
self.require_minting_is_ready();
self.require_url_is_valid(&data_marshal);
self.require_url_is_valid(&data_preview);
require!(!data_stream.is_empty(), "URL is empty");
require!(!data_stream.is_empty(), "Data Stream is empty");
self.require_url_is_valid(&media);
self.require_url_is_valid(&metadata);
self.require_sft_is_valid(&royalties, &supply);
Expand Down
2 changes: 1 addition & 1 deletion tests/rust_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,7 @@ fn mint_nft_ft_test() {
);
},
)
.assert_error(4, "URL is empty");
.assert_error(4, "Data Stream is empty");

// [setup] setting set_anti_spam_tax to 200 ITHEUM
b_wrapper
Expand Down

0 comments on commit a8aaebc

Please sign in to comment.