Closed joequant closed 4 months ago
The feed updater started throwing contractlogicerrors
feed_updater | ^^^^^^^^^^^^^^^^^^^^^^^^ feed_updater | File "/usr/local/lib/python3.12/site-packages/web3/manager.py", line 291, in formatted_response feed_updater | apply_error_formatters(error_formatters, response) feed_updater | File "/usr/local/lib/python3.12/site-packages/web3/manager.py", line 104, in apply_error_formatters feed_updater | formatted_resp = pipe(response, error_formatters) feed_updater | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ feed_updater | File "cytoolz/functoolz.pyx", line 680, in cytoolz.functoolz.pipe feed_updater | File "cytoolz/functoolz.pyx", line 655, in cytoolz.functoolz.c_pipe feed_updater | File "/usr/local/lib/python3.12/site-packages/web3/_utils/error_formatters_utils.py", line 162, in raise_contract_logic_error_on_revert feed_updater | raise ContractLogicError(message, data=data) feed_updater | web3.exceptions.ContractLogicError: ('execution reverted: start not valid', '0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000 00000000000000000000000000f7374617274206e6f742076616c69640000000000000000000000000000000000')
This seems to be an internal web3 issue, and feed adapter worked when the daemon was reset. We should exit the adapter if there is this error.
The feed updater started throwing contractlogicerrors
feed_updater | ^^^^^^^^^^^^^^^^^^^^^^^^
feed_updater | File "/usr/local/lib/python3.12/site-packages/web3/manager.py", line 291, in formatted_response
feed_updater | apply_error_formatters(error_formatters, response)
feed_updater | File "/usr/local/lib/python3.12/site-packages/web3/manager.py", line 104, in apply_error_formatters
feed_updater | formatted_resp = pipe(response, error_formatters)
feed_updater | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
feed_updater | File "cytoolz/functoolz.pyx", line 680, in cytoolz.functoolz.pipe
feed_updater | File "cytoolz/functoolz.pyx", line 655, in cytoolz.functoolz.c_pipe
feed_updater | File "/usr/local/lib/python3.12/site-packages/web3/_utils/error_formatters_utils.py", line 162, in raise_contract_logic_error_on_revert
feed_updater | raise ContractLogicError(message, data=data)
feed_updater | web3.exceptions.ContractLogicError: ('execution reverted: start not valid', '0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000 00000000000000000000000000f7374617274206e6f742076616c69640000000000000000000000000000000000')
This seems to be an internal web3 issue, and feed adapter worked when the daemon was reset. We should exit the adapter if there is this error.