-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
feat: cross chain swaps - tx status #27740
Closed
Closed
Conversation
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
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
infiniteflower
force-pushed
the
mb892-cross-chain-swap-tx-submit
branch
from
October 9, 2024 18:56
d2d1d5a
to
6de5ea4
Compare
infiniteflower
force-pushed
the
mb893-cross-chain-swap-tx-status-2
branch
2 times, most recently
from
October 11, 2024 18:30
e4a6cc1
to
1fe19a5
Compare
infiniteflower
force-pushed
the
mb892-cross-chain-swap-tx-submit
branch
from
October 11, 2024 18:34
f7fb2df
to
ddecaa0
Compare
infiniteflower
changed the title
chore: setup bridge status controller skeleton
Cross chain swaps - tx status
Oct 11, 2024
infiniteflower
force-pushed
the
mb892-cross-chain-swap-tx-submit
branch
from
October 11, 2024 19:39
ddecaa0
to
6ced9cb
Compare
infiniteflower
force-pushed
the
mb893-cross-chain-swap-tx-status-2
branch
2 times, most recently
from
October 15, 2024 15:24
3ac61cb
to
337cf73
Compare
infiniteflower
force-pushed
the
mb892-cross-chain-swap-tx-submit
branch
from
October 16, 2024 15:22
9c4ed4d
to
ecf1995
Compare
infiniteflower
force-pushed
the
mb893-cross-chain-swap-tx-status-2
branch
2 times, most recently
from
October 16, 2024 19:03
d79e23d
to
091155b
Compare
infiniteflower
force-pushed
the
mb892-cross-chain-swap-tx-submit
branch
from
October 17, 2024 15:56
3cdbb46
to
7ee767f
Compare
infiniteflower
force-pushed
the
mb893-cross-chain-swap-tx-status-2
branch
from
October 17, 2024 15:58
be26838
to
366505d
Compare
infiniteflower
force-pushed
the
mb892-cross-chain-swap-tx-submit
branch
from
October 21, 2024 19:47
7ee767f
to
c9b8a65
Compare
infiniteflower
force-pushed
the
mb893-cross-chain-swap-tx-status-2
branch
from
October 21, 2024 19:51
96e6e20
to
aabcc94
Compare
infiniteflower
force-pushed
the
mb892-cross-chain-swap-tx-submit
branch
from
November 4, 2024 20:48
c9b8a65
to
ea5c4b0
Compare
infiniteflower
force-pushed
the
mb893-cross-chain-swap-tx-status-2
branch
from
November 4, 2024 21:31
a6352ec
to
0ebe6c3
Compare
infiniteflower
force-pushed
the
mb892-cross-chain-swap-tx-submit
branch
from
November 7, 2024 20:16
4c771c3
to
03a2f47
Compare
infiniteflower
force-pushed
the
mb893-cross-chain-swap-tx-status-2
branch
2 times, most recently
from
November 8, 2024 16:11
af8e0c9
to
6aa4f93
Compare
Builds ready [3d57b48]
Page Load Metrics (1746 ± 52 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
4 tasks
infiniteflower
force-pushed
the
mb892-cross-chain-swap-tx-submit
branch
from
November 14, 2024 15:34
5ad9a16
to
f3a6025
Compare
infiniteflower
changed the title
Cross chain swaps - tx status
feat: cross chain swaps - tx status
Nov 14, 2024
infiniteflower
force-pushed
the
mb893-cross-chain-swap-tx-status-2
branch
from
November 14, 2024 16:03
3d57b48
to
c1adb80
Compare
Builds ready [c1adb80]
Page Load Metrics (1885 ± 59 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [e43b87a]
Page Load Metrics (1928 ± 61 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
infiniteflower
force-pushed
the
mb893-cross-chain-swap-tx-status-2
branch
from
November 21, 2024 19:45
088a7b4
to
076a868
Compare
Builds ready [076a868]
Page Load Metrics (2071 ± 81 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
This was referenced Nov 21, 2024
micaelae
previously approved these changes
Nov 22, 2024
7 tasks
Builds ready [d1ac948]
Page Load Metrics (1960 ± 92 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [fa941e9]
Page Load Metrics (1948 ± 99 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [b074101]
Page Load Metrics (1914 ± 100 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
github-merge-queue bot
pushed a commit
that referenced
this pull request
Nov 26, 2024
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> This PR is a collection of all the background related code from #27740 (no UI changes). It has been split up in order to make it easier to review. A follow up PR containing all the UI changes from #27740 is here: #28657 The main addition is the `BridgeStatusController` and its supporting code. If you would like to test the functionality of this PR through the UI, please do so through #27740. [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/28636?quickstart=1) ## **Related issues** Branched off from #27740 ## **Manual testing steps** Refer to #27740 ## **Screenshots/Recordings** Refer to #27740 ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
Closing this as #28657 is now the head of all the Bridge status work |
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 does the following:
BridgeStatusController
to track the status of a Bridge transaction. It will also restart polling if you have closed the browser and you still have pending bridge txs.Related issues
Related to and targetting: #27262
Manual testing steps
Simple bridge
Restarting polling
Screenshots/Recordings
Before
After
Screen.Recording.2024-11-08.at.11.21.58.AM.mov
Pre-merge author checklist
Pre-merge reviewer checklist