Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Assertion failled #158

Open
dansolo333 opened this issue May 4, 2023 · 1 comment
Open

Error Assertion failled #158

dansolo333 opened this issue May 4, 2023 · 1 comment

Comments

@dansolo333
Copy link

Error: Assertion failed
▶ 4 stack frames were collapsed.
claimNFTs
C:/Users/Jessica/Downloads/hashlips_nft_minting_dapp-main/src/App.js:125
122 | });
123 |
124 | const claimNFTs = () => {

125 | let cost = new BN(CONFIG.WEI_COST, 10);
| ^ 126 | let gasLimit = new BN(CONFIG.GAS_LIMIT,);
127 | let bNMintAmount = new BN(mintAmount);
128 | let totalCostWei = cost.mul(bNMintAmount).toString(10);
View compiled
onClick
C:/Users/Jessica/Downloads/hashlips_nft_minting_dapp-main/src/App.js:361
358 | disabled={claimingNft ? 1 : 0}
359 | onClick={(e) => {
360 | e.preventDefault();
361 | claimNFTs();
| ^ 362 | getData();
363 | }}
364 | >
View compiled
▶ 19 stack frames were collapsed.

@dansolo333
Copy link
Author

please i need help on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant