Open Reyth3 opened 3 years ago
i got the same error. There is nothing wrong with contract if I use my own script to send a transaction, it will success.
I asked this question in telegram group. and I got answer from a very nice guy. he suggest:
Try Gas limit 50000 and Gas price 5000000000000
Good evening,
Now, I'm not sure if there is a problem with the way the software is set up on my local machine or if it is something else, but whenever I'm trying to interact with the write functions of the contract, I am getting the above mentioned error. I am working with the demo template - the Coin contract.
On stackoverflow I've seen peole mentioning that changing the nonce value can help with registering a new transaction, but I do not think this really is the case here, nor is it and option as far as I can tell.
Environment: Windows 10 x64 2004, BCS Studio v0.1.2 Compiled with solidity 0.8.5 and Truffle v5.1.61