-
Notifications
You must be signed in to change notification settings - Fork 21
improve: Handle deposits referencing input/output/repayment tokens that do not map to PoolRebalanceRoutes #970
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 26 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
480c57f
improve(BundleDataClient): Ignore refunds for L2 tokens that do not m…
nicholaspai 18cbb49
Add more cases
nicholaspai f7b0c0a
refactor into forceOriginChainRepayment
nicholaspai bb63534
Update FillUtils.ts
nicholaspai fb6b015
Update BundleDataClient.ts
nicholaspai d0e6ffc
Add block to l2TokenHasPoolRebalanceRoute call
nicholaspai 10a7073
Simplify getValidUnfilledAmountForDeposit
nicholaspai 7fa238f
Revert "Simplify getValidUnfilledAmountForDeposit"
nicholaspai a194052
Refactor
nicholaspai 57615b1
check for destination chain as well as origin chain pool rebalance ro…
nicholaspai e7e53c3
Add spoke pool client check
nicholaspai 819fa76
Update FillUtils.ts
nicholaspai 3545cd3
Update HubPoolClient.ts
nicholaspai 820847b
Update HubPoolClient.ts
nicholaspai bf93c5f
Use destination chain if it can be mapped to a pool rebalance route
nicholaspai 01f67d7
Update FillUtils.ts
nicholaspai d1d63e6
Update FillUtils.ts
nicholaspai b12324c
repay to origin chain if repayment chain is invalid, change to destin…
nicholaspai 47d6124
refactor spoke pool client
nicholaspai c789c27
Update SpokePoolClient.ts
nicholaspai c0dd4a6
Add comments on solana
nicholaspai a9b3100
Refactor
nicholaspai 674364f
Keep deposit with outputToken = 0x0 that we cannot resolve
nicholaspai 7c232d1
Update DepositUtils.ts
nicholaspai 6b4d6da
refactor isZeroValueFillOrSlowFillRequest for clarity
nicholaspai dd9c6f9
Merge branch 'master' into deposit-whitelist-removal
nicholaspai cfabc9b
Update DepositUtils.ts
nicholaspai 45103b4
remove assert in `getRefundInformationFromFill` and try-catch in Hub…
nicholaspai 065a850
Update DepositUtils.ts
nicholaspai 7d6c9fd
fix mock hub pool client
nicholaspai 8653045
Update package.json
nicholaspai 4a2ecca
Read repayment validity using bundle end block instead of quote block
nicholaspai 08d88a3
Update PoolRebalanceUtils.ts
nicholaspai e86745e
Protect or remove functions that use deposit.quoteBlock to lookup a p…
nicholaspai ac67532
Update MockHubPoolClient.ts
nicholaspai 28669bf
Update MockHubPoolClient.ts
nicholaspai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.