Open mikedotexe opened 4 years ago
I will touch this
Sounds like updating near-api-js
will help, but user is still seeing errors
Hi, I reported this on Discord, I have a bit more info now.
In src/hooks/contract.js , the corgi sample code sets the prepaid gas limit for calls (the BOATLOAD_OF_GAS const) to 10^16, which exceeds what the API is willing to take (I think it's 3 * 10^15?), giving GasLimitExceeded error.
At the moment, on the testnet, createCorgi seems to succeed if I reduce BOATLOAD_OF_GAS to 10^14. (However, 10^12 is not enough, and gives GasExceeded.)
It's a one-character fix. Would you like a pull req?
Someone on Discord noticed they were unable to create Corgis. I had the same behavior. I believe they somehow might have determined that it's a gas issue, but I cannot confirm that. I have tried on a couple browsers, logged out of a NEAR account and back in. Console doesn't seem to show helpful information for me.