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
Driver simulators (web3, enso, tenderly) should return block_number in case they errored on access list estimation or gas estimation.
Suggested solution
Enso and Tenderly should have this out of the box, while for web3 we can add simple eth().block(Latest) call before simulation (we do the same in the non-colocated driver).
# Description
Fixes#2018
# Changes
<!-- List of detailed changes (how the change is accomplished) -->
- [ ] Added block number to each simulation failure. The block number is
approximately fetched from the `web3`.
- [ ] Used this block number for `notify` calls
- [ ] Extracted `notify::simulation_failure` as it is important enough
to have it's own function
Problem
Driver
simulators (web3, enso, tenderly) should returnblock_number
in case they errored on access list estimation or gas estimation.Suggested solution
Enso and Tenderly should have this out of the box, while for web3 we can add simple
eth().block(Latest)
call before simulation (we do the same in the non-colocated driver).Additional context
Needed to populate the field #2013 (comment)
The text was updated successfully, but these errors were encountered: