Bug in eth_simulateV1
JSON-RPC: Can not simulate historical transaction as expected.
#30950
Labels
eth_simulateV1
JSON-RPC: Can not simulate historical transaction as expected.
#30950
System information
Geth version: `Version: 1.14.13-unstable
CL client & version: e.g. lighthouse/
OS & Version: Linux
Expected behaviour
I am trying to use
eth_simulateV1
api to simulate historical transactions and I meet unexpected revert. Here is my code:This transaction is a trx to fill 1inch order and has been included in block 21457055.
The simulation result is below and this error is caused by the price slippage. I guess this may be caused by uncorrect setting of block timestamp environment variable.
Actual behaviour
The transaction has been included in block. Therefore, the simulation result should be successful.
Steps to reproduce the behaviour
You can use my code to test, if the state is expired, please use archive node.
The text was updated successfully, but these errors were encountered: