-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(finalizer): Revert Polygon txn:withdrawal expectations (#994)
In the case where multiple Polygon withdrawals for a single token have accrued, the existing logic can break down. This is because the bridge adapter retrieve() call is a catch-all that evacuates the entire balance to the HubPool, so multiple finalisation transactions can map to a single retrieve() call. This is gas-efficient, but makes it borderline impossible for the finalizer to expect a clean 1:n withdrawal:txn mapping.
- Loading branch information
Showing
1 changed file
with
32 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters