Closed polyphia closed 1 year ago
I get this error quite often for no apparent reason
Json body:
[ { "chainId": 1, "from": "0xF5D2d4f61675568AAF2fd9d7F4a8C3fc478bB2c0", "to": "0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B", "data": "0x3593564c000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000646fcd3f00000000000000000000000000000000000000000000000000000000000000030b090c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000001e60176d18aaae6000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000378f609379acd0acbd20000000000000000000000000000000000000000000000000001e60176d18aaae600000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a3a122766d611a96c929c99d60a2b7e622705b6b000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000", "gasLimit": 250000, "value": "136798448514673382", "blockNumber": 17338560, "formatTrace": true }, { "chainId": 1, "from": "0x22a6894B11da57000c35159395246e3402DB5665", "to": "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D", "data": "0xfb3bdb4100000000000000000000000000000000000000050c783eb9b5c85f2a80000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000022a6894b11da57000c35159395246e3402db56650000000000000000000000000000000000000000000000000000018859fb352c0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000009f493f51ed6da4573578a6843c7e041e9bec012a", "gasLimit": 521000, "value": "500000000000000000", "blockNumber": 17338560, "formatTrace": true } ]
And here is my curl request :
curl -H "Content-Type: application/json" --data @tests/body.json http://localhost:9080/api/v1/simulate-bundle
The response :
[{"simulationId":1,"gasUsed":0,"blockNumber":17338560,"success":false,"trace":[{"callType":"CALL","from":"0x0000000000000000000000000000000000000000","to":"0x0000000000000000000000000000000000000000","value":"0x0"}],"formattedTrace":" [0] \u001b[31m0x0000000000000000000000000000000000000000\u001b[0m::\u001b[31mfallback\u001b[0m() \u001b[33m\u001b[0m\n └─ \u001b[31m← \u001b[0m()\n","logs":[],"exitReason":"FatalExternalError","returnData":"0x"},{"simulationId":1,"gasUsed":0,"blockNumber":17338560,"success":false,"trace":[{"callType":"CALL","from":"0x0000000000000000000000000000000000000000","to":"0x0000000000000000000000000000000000000000","value":"0x0"}],"formattedTrace":" [0] \u001b[31m0x0000000000000000000000000000000000000000\u001b[0m::\u001b[31mfallback\u001b[0m() \u001b[33m\u001b[0m\n └─ \u001b[31m← \u001b[0m()\n","logs":[],"exitReason":"FatalExternalError","returnData":"0x"}]
I get this error quite often for no apparent reason
Json body:
And here is my curl request :
curl -H "Content-Type: application/json" --data @tests/body.json http://localhost:9080/api/v1/simulate-bundle
The response :
[{"simulationId":1,"gasUsed":0,"blockNumber":17338560,"success":false,"trace":[{"callType":"CALL","from":"0x0000000000000000000000000000000000000000","to":"0x0000000000000000000000000000000000000000","value":"0x0"}],"formattedTrace":" [0] \u001b[31m0x0000000000000000000000000000000000000000\u001b[0m::\u001b[31mfallback\u001b[0m() \u001b[33m\u001b[0m\n └─ \u001b[31m← \u001b[0m()\n","logs":[],"exitReason":"FatalExternalError","returnData":"0x"},{"simulationId":1,"gasUsed":0,"blockNumber":17338560,"success":false,"trace":[{"callType":"CALL","from":"0x0000000000000000000000000000000000000000","to":"0x0000000000000000000000000000000000000000","value":"0x0"}],"formattedTrace":" [0] \u001b[31m0x0000000000000000000000000000000000000000\u001b[0m::\u001b[31mfallback\u001b[0m() \u001b[33m\u001b[0m\n └─ \u001b[31m← \u001b[0m()\n","logs":[],"exitReason":"FatalExternalError","returnData":"0x"}]