Timeline for Out of gas error for a view function
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 29, 2019 at 1:43 | answer | added | ZungTa | timeline score: 1 | |
May 28, 2019 at 20:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jan 28, 2019 at 9:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 26, 2018 at 5:38 | answer | added | Tudor Constantin | timeline score: 2 | |
Dec 25, 2018 at 12:31 | comment | added | Costa Rassco | @goodvibration yeah, but I renamed everything just not to waste your time reading a long camelcase function names. | |
Dec 25, 2018 at 12:31 | comment | added | Costa Rassco | @MaheshRajput I equally named them, so it shouldn't be a problem and I use an address of the that other contract, not contract2 | |
Dec 25, 2018 at 12:28 | comment | added | goodvibration |
Well, is contract2 deployed on the main network?
|
|
Dec 25, 2018 at 12:28 | comment | added | Mahesh Rajput |
Make sure that you are calling the function checkFunds() other contract, not of contract2.
|
|
Dec 25, 2018 at 12:28 | comment | added | Costa Rassco | @goodvibration thank you for your reply. It's also in the main network and I have already tried to call it's functions, so the problem in this one only. Checked it in etherscan, it's also there, so that function exists and it's view one there | |
Dec 25, 2018 at 12:24 | comment | added | goodvibration |
I suggest that in your contract, check if contract2 is initialized correctly.
|
|
Dec 25, 2018 at 12:23 | comment | added | goodvibration |
The error printout is misleading (you), because a view function does not require any gas in order to execute it. It is merely a "peek" into the blockchain data (i.e., no mining is performed).
|
|
Dec 25, 2018 at 12:20 | review | First posts | |||
Dec 25, 2018 at 15:07 | |||||
Dec 25, 2018 at 12:15 | history | asked | Costa Rassco | CC BY-SA 4.0 |