Skip to content

Commit

Permalink
fix(fast-usdc): FORWARD_FAILED when EUD invalid (#10963)
Browse files Browse the repository at this point in the history
closes: #10623

## Description

Adds multichain-testing scenarios for:
- insufficient LP funds; forward path
- minted before observed; forward path
- insufficient LP funds and forward failed

Changed the behavior of the settler to go to forwardFailed state if it tries to forward to an invalid/un-registered chain. The previous behavior was to get stuck at observed.

Also added a test `advance failed (e.g. to missing chain)` which is currently skipped because in the missing chain case, it actually just stays at the observed state. Should we change this to advanceFailed/forwardFailed?

### Testing Considerations

Did this in multichain-testing rather than bootstrap because it's closer to a real environment. I previously observed the stuck-at-observed behavior when attempting to write a bootstrap test but couldn't figure out if it was an issue with my test logic.
  • Loading branch information
mergify[bot] authored Feb 12, 2025
2 parents 0ca4b57 + cac5b62 commit a67bf28
Show file tree
Hide file tree
Showing 4 changed files with 434 additions and 82 deletions.
Loading

0 comments on commit a67bf28

Please sign in to comment.