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

update swap sdk v23 #1662

Merged
merged 4 commits into from
Aug 16, 2024
Merged

update swap sdk v23 #1662

merged 4 commits into from
Aug 16, 2024

Conversation

greg-schrammel
Copy link
Contributor

@greg-schrammel greg-schrammel commented Aug 12, 2024

Fixes BX-1585
Figma link (if any):

What changed (plus any additional context for devs)

Screen recordings / screenshots

What to test

Copy link

socket-security bot commented Aug 12, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@rainbow-me/swaps@0.23.0 environment, eval, network 0 786 kB brunobar79

🚮 Removed packages: npm/@rainbow-me/swaps@0.21.0

View full report↗︎

@DanielSinclair DanielSinclair requested review from BrodyHughes and a team August 14, 2024 05:23
@DanielSinclair
Copy link
Collaborator

DanielSinclair commented Aug 14, 2024

@BrodyHughes This might need a full Swap regression. I think this affects quotes for different currencies, so you might want to try it out with different currency settings

Copy link
Member

@BrodyHughes BrodyHughes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested swaps on:

  • mainnet
  • L2
  • L2 with non-eth gas token
  • mainnet custom RPC
  • L2 custom RPC
  • L2 with non-eth gas token and custom RPC
  • 3 separate currency types (USD, ETH, and Yen)

All looks good! Only concern is getting some odd console error on Matic swaps but the swap still succeeded.

Screenshot 2024-08-14 at 1 19 42 PM

@DanielSinclair
Copy link
Collaborator

@greg-schrammel Noticed the above error in the console as well

@greg-schrammel
Copy link
Contributor Author

greg-schrammel commented Aug 15, 2024

Tested swaps on:

  • mainnet
  • L2
  • L2 with non-eth gas token
  • mainnet custom RPC
  • L2 custom RPC
  • L2 with non-eth gas token and custom RPC
  • 3 separate currency types (USD, ETH, and Yen)

All looks good! Only concern is getting some odd console error on Matic swaps but the swap still succeeded.

Screenshot 2024-08-14 at 1 19 42 PM

this logged error is useQuery complaining we are not using it in the intended way, was happening before, not related to this pr

gonna think of a way to change that but in later pr

@greg-schrammel greg-schrammel added this pull request to the merge queue Aug 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 15, 2024
@DanielSinclair DanielSinclair added this pull request to the merge queue Aug 15, 2024
github-merge-queue bot pushed a commit that referenced this pull request Aug 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 15, 2024
@greg-schrammel greg-schrammel added this pull request to the merge queue Aug 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 16, 2024
@DanielSinclair
Copy link
Collaborator

Temporarily removing the Firefox checks here; Brody is refactoring that in a separate PR. This should get automatically merged once Bruno amends one of the repo settings later today.

@DanielSinclair DanielSinclair added this pull request to the merge queue Aug 16, 2024
Merged via the queue into master with commit 81c79e3 Aug 16, 2024
14 checks passed
@DanielSinclair DanielSinclair deleted the swap-sdk-v23 branch August 16, 2024 16:19
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.

3 participants