forked from across-protocol/relayer
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Dataworker): Support pre-fill refunds and duplicate deposits (ac…
…ross-protocol#2010) * feat(Dataworker): Support pre-fill refunds This PR should be backwards compatible and deployable to production today to be paired with across-protocol/sdk#835 * Finish new tests * Update Dataworker.buildRoots.ts * Revert "Update Dataworker.buildRoots.ts" This reverts commit 40ad15f. * Add test against duplicate deposits * Add unit tests for duplicate deposits * Import beta sdk * import sdk * update import * Update package.json * Update config.yml * wip * Fix tests * Update SpokePoolUtils.ts * Update SpokePoolUtils.ts * Update Dataworker.loadData.prefill.ts * Add tests for zero value deposits * Split up tests to speed up CI * import * Update package.json * Update yarn.lock * import * Fix tests * fix * bump * Remove mocked version bump in non-prefill tests * wip * lint * bump * bump * fix * import * fix * Update Dataworker.loadData.fill.ts * Fix tests * move some bytes32 invalid test cases to pre-fills because they hit pre-fill logic * WIP * Update Dataworker.loadData.prefill.ts * update * WIP * fix * wip * update * fix * Update Dataworker.loadData.prefill.ts * fix * bump package to new duplicate refund version * Add test cases for historical deposit query when matched deposit is in future bundle * fix * Update Dataworker.loadData.fill.ts * Update Dataworker.loadData.fill.ts * pay refunds to pre-filler unless slow fill * Update Dataworker.loadData.prefill.ts * Update Dataworker.loadData.prefill.ts * fix * Add verifyFillRepayment test for pre fills * add asserts * wip * 34 * fix test * 4.0.0 * Update Constants.ts
- Loading branch information
1 parent
c5fb4a3
commit 14f6d60
Showing
10 changed files
with
2,360 additions
and
821 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
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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