Timeline for ganache-cli: Returned values aren't valid, did it run Out of Gas?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 5, 2020 at 10:24 | comment | added | goodvibration | @Nick: Yes, I have slightly updated the answer (the last line). | |
Mar 5, 2020 at 10:23 | history | edited | goodvibration | CC BY-SA 4.0 |
added 9 characters in body
|
Mar 5, 2020 at 10:22 | comment | added | Nick |
It transpired that João Quintanilha was correct in the comments, it was an issue in the Geth node not syncing to the latest block. The contract did not exist according to Geth and so this error was thrown. contract.methods.decimals().call() does now return 18 which is the value of the public storage variable decimals .
|
|
Mar 5, 2020 at 10:21 | history | answered | goodvibration | CC BY-SA 4.0 |