Skip to content

Commit

Permalink
Merge branch 'milestone-1.10.0' into d-david
Browse files Browse the repository at this point in the history
  • Loading branch information
bucurdavid committed Dec 21, 2023
2 parents 0abac70 + b3a38cf commit 632d09f
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 39 deletions.
78 changes: 45 additions & 33 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@testing-library/react": "14.1.2",
"@testing-library/user-event": "14.5.1",
"axios": "1.6.2",
"bignumber.js": "9.1.2",
"dotenv": "16.3.1",
"framer-motion": "10.16.16",
"mime": "4.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export const MintDataNft: React.FC<MintDataNftProps> = (props) => {
data.datasetTitle,
data.datasetDescription,
{
antiSpamTax: BigNumber(antiSpamTaxAmount).toNumber(),
antiSpamTax: new BigNumber(antiSpamTaxAmount).toNumber(),
antiSpamTokenIdentifier: viewContractConfig.taxToken,
imageUrl: data.imageUrl,
nftStorageToken: data.nftStorageToken,
Expand Down
6 changes: 1 addition & 5 deletions src/pages/Enterprise/components/LaunchNftMinter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,7 @@ export const LaunchNftMinter: React.FC<LaunchNftMinterProps> = (props) => {
formData.claimsAddress,
{
taxTokenIdentifier: formData.taxTokenIdentifier ?? "",
taxTokenAmount: formData.taxTokenAmount
? BigNumber(formData.taxTokenAmount)
.multipliedBy(10 ** tokenRequest)
.toNumber()
: 0,
taxTokenAmount: formData.taxTokenAmount ? new BigNumber(formData.taxTokenAmount).multipliedBy(10 ** tokenRequest).toNumber() : 0,
}
);
txWhenRequireMintIsTrue.setGasLimit(100000000);
Expand Down

0 comments on commit 632d09f

Please sign in to comment.