Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EASY] Simulate settlement tx before submitting (#3166)
# Description On the `base` network, there are more settlement tx onchain reverts than expected. According to the logs, we couldn't catch those reverts using `estimate_gas` calls that happen only **after** the tx is submitted to the mempool. The tx also gets simulated before submitting a solution to the competition. However, the delay between that event and the actual execution can cause the tx to become invalid later. So, this PR adds additional `estimate_gas` call **before** the tx gets submitted. ## How to test Production logs.
- Loading branch information