Skip to content
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

improve(BundleDataClient): Add comment about not running binary search on "unsafe" deposit ID's #796

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

nicholaspai
Copy link
Member

I'm combing through the SDK for any functions that will need to change once this contracts PR is merged and here are some changes:

  • Added comments to BundleDataClient
  • Export useful constant MAX_SAFE_DEPOSIT_ID
  • Export useful utility isUnsafeDepositId()
  • Delete unused functions that wouldn't work post spoke pool upgrade because the V3RelayData.depositId type will change to uint256

…h on "unsafe" deposit ID's

I'm combing through the SDK for any functions that will need to change once this contracts  [PR](across-protocol/contracts#583) is merged and here are some changes:
- Added comments to BundleDataClient
- Export useful constant `MAX_SAFE_DEPOSIT_ID`
- Export useful utility `isUnsafeDepositId()`
- Delete unused functions that wouldn't work post spoke pool upgrade because the `V3RelayData.depositId` type will change to uint256
@nicholaspai nicholaspai marked this pull request as ready for review December 17, 2024 19:28
@nicholaspai nicholaspai requested a review from bmzig December 17, 2024 19:57
@nicholaspai nicholaspai merged commit b7dc27d into master Dec 20, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants