OOv3 bot looks for assertions that can be settled using block range based lookback. Sometimes this is not sufficient and we cannot guarantee that even standard 2h challenge window assertions get detected. This is particularly an issue for chains that don't have fixed block times (e.g. Arbitrum).
Summary
Use BlockFinder for time based lookback and set the default to use 72h that should cover most use cases.
Testing
Check a box to describe how you tested these changes and list the steps for reviewers to test.
[x] Ran end-to-end test, running the code as in production
[ ] New unit tests created
[ ] Existing tests adequate, no new tests required
[ ] All existing tests pass
[ ] Untested
Since BlockFinder does not work in local test network, this was tested in production:
Motivation
OOv3 bot looks for assertions that can be settled using block range based lookback. Sometimes this is not sufficient and we cannot guarantee that even standard 2h challenge window assertions get detected. This is particularly an issue for chains that don't have fixed block times (e.g. Arbitrum).
Summary
Use
BlockFinder
for time based lookback and set the default to use 72h that should cover most use cases.Testing
Check a box to describe how you tested these changes and list the steps for reviewers to test.
Since BlockFinder does not work in local test network, this was tested in production:
Issue(s)
Fixes https://linear.app/uma/issue/UMA-2236/fix-oov3-settlement-bot-lookback