Replies: 1 comment
-
Duplicate of #445 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, everybody.
I am getting this problem when I try to set the _Cost before deploying when I use decimals.
creation of YourNftToken errored: Error encoding arguments: Error: invalid BigNumber string (argument="value", value="0.1", code=INVALID_ARGUMENT, version=bignumber/5.5.0)
On the other hand, if I use a whole number like 1 for the _Cost it accepts it and the contract is being deployed, BUT! After I try to mint it returns the same error:
transact to GPTpederastiq.mint errored: Error encoding arguments: Error: invalid BigNumber string (argument="value", value="", code=INVALID_ARGUMENT, version=bignumber/5.5.0)
P.S. I didn't change anything in the contract. I am using Remix with compiler 0.8.9
Beta Was this translation helpful? Give feedback.
All reactions