chore: migrate swaps controller to typescript#25063
Merged
Conversation
Collaborator
|
Policy update failed. You can review the logs or retry the policy update here |
… swaps/controller-ts
…tension into swaps/controller-ts
Collaborator
Builds ready [47bff00]
Page Load Metrics (54 ± 7 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #25063 +/- ##
===========================================
- Coverage 64.93% 64.87% -0.06%
===========================================
Files 1385 1387 +2
Lines 54958 55014 +56
Branches 14421 14451 +30
===========================================
+ Hits 35682 35687 +5
- Misses 19276 19327 +51 ☔ View full report in Codecov by Sentry. |
Collaborator
Builds ready [7050331]
Page Load Metrics (50 ± 3 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
callumelvidge
previously approved these changes
Jun 12, 2024
Collaborator
Builds ready [21b9c5e]
Page Load Metrics (216 ± 238 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
infiniteflower
previously approved these changes
Jun 19, 2024
… swaps/controller-ts
…tension into swaps/controller-ts
15b7f81
Collaborator
Builds ready [7c9857b]
Page Load Metrics (39 ± 1 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
infiniteflower
approved these changes
Jun 19, 2024
Collaborator
Builds ready [a24c33d]
Page Load Metrics (238 ± 250 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
callumelvidge
approved these changes
Jun 21, 2024
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Description
This PR refactors the SwapsController class to be rewritten in typescript. For the sake of making sure all functionality stays the same, the tests have not been affected
Related issues
Fixes:
Manual testing steps
Go to swaps. Swap on the following scenarios:
ETH -> WETH
WETH -> ETH
ETH -> ERC20
ERC20 -> ETH
ERC20 -> ERC20
Screenshots/Recordings
N/A
Before
N/A
After
N/A
Pre-merge author checklist
Pre-merge reviewer checklist