You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Optimist application crashes - Returned values aren't valid, did it run Out of Gas?
This error happened many times during the load testing on the Optimist and Proposer applications.
Optimist's logs:
2022-09-27T09:23:16.759+01:00 throw new Error('Returned values aren\'t valid, did it run Out of Gas? ' +
2022-09-27T09:23:16.759+01:00 ^
2022-09-27T09:23:16.759+01:00 Error: Returned values aren't valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced.
2022-09-27T09:23:16.759+01:00 at ABICoder.decodeParametersWith (/app/node_modules/web3-eth-abi/lib/index.js:304:15)
2022-09-27T09:23:16.759+01:00 at ABICoder.decodeParameters (/app/node_modules/web3-eth-abi/lib/index.js:291:17)
2022-09-27T09:23:16.759+01:00 at Contract._decodeMethodReturn (/app/node_modules/web3-eth-contract/lib/index.js:493:22)
2022-09-27T09:23:16.759+01:00 at Method.outputFormatter (/app/node_modules/web3-eth-contract/lib/index.js:800:42)
2022-09-27T09:23:16.759+01:00 at Method.formatOutput (/app/node_modules/web3-core-method/lib/index.js:148:54)
2022-09-27T09:23:16.759+01:00 at sendTxCallback (/app/node_modules/web3-core-method/lib/index.js:536:33)
2022-09-27T09:23:16.759+01:00 at Object.callback (/app/node_modules/web3-core-requestmanager/lib/index.js:305:9)
2022-09-27T09:23:16.759+01:00 at /app/node_modules/web3-providers-ws/lib/index.js:114:45
2022-09-27T09:23:16.759+01:00 at Array.forEach (<anonymous>)
2022-09-27T09:23:16.759+01:00 at WebsocketProvider._onMessage (/app/node_modules/web3-providers-ws/lib/index.js:102:69)
2022-09-27T09:23:16.759+01:00 at W3CWebSocket._dispatchEvent [as dispatchEvent] (/app/node_modules/yaeti/lib/EventTarget.js:115:12)
2022-09-27T09:23:16.759+01:00 at W3CWebSocket.onMessage (/app/node_modules/websocket/lib/W3CWebSocket.js:234:14)
2022-09-27T09:23:16.759+01:00 at WebSocketConnection.<anonymous> (/app/node_modules/websocket/lib/W3CWebSocket.js:205:19)
2022-09-27T09:23:16.759+01:00 at WebSocketConnection.emit (node:events:513:28)
2022-09-27T09:23:16.759+01:00 at WebSocketConnection.processFrame (/app/node_modules/websocket/lib/WebSocketConnection.js:554:26)
2022-09-27T09:23:16.759+01:00 at /app/node_modules/websocket/lib/WebSocketConnection.js:323:40
2022-09-27T09:29:38.156+01:00 Waiting for connection with web3-ws.staging.polygon-nightfall.technology...
2022-09-27T09:29:38.187+01:00 Connect to web3-ws.staging.polygon-nightfall.technology...
2022-09-27T09:29:38.862+01:00 > [email protected] prestart
2022-09-27T09:29:38.862+01:00 > ./pre-start-script.sh
2022-09-27T09:29:39.172+01:00 > [email protected] start
2022-09-27T09:29:39.172+01:00 > node src/index.mjs
This error is difficult to replay because it didn't happen all the time tested, it isn't deterministic. Maybe it happens when the Optimist is under a heavy load. It happened during block generation.
To simulate one can insert the following transaction many times into the Optimist's DB:
The Optimist application crashes - Returned values aren't valid, did it run Out of Gas?
This error happened many times during the load testing on the Optimist and Proposer applications.
This error is difficult to replay because it didn't happen all the time tested, it isn't deterministic. Maybe it happens when the Optimist is under a heavy load. It happened during block generation.
To simulate one can insert the following transaction many times into the Optimist's DB:
The application should be resilient and whatever failure happens it shouldn't crash.
The text was updated successfully, but these errors were encountered: