-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Remove Babel 6 from internal dependencies #7037
Conversation
38f6eb6
to
b9b034f
Compare
b9b034f
to
75b93e4
Compare
Currently failing e2e tests. Chrome: throws on this line of Firefox: I can reproduce the Firefox error but not the Chrome error locally. Branch was rebased onto |
@rekmarks this could be caused by non-unique request ids if they are not going through an id-remapper multiple requests with matching ids start, response for one deletes the stored callback, then the second response comes in and the callback is missing potential solutions:
|
I'm seeing this error locally as well, on both Chrome and Firefox. Maybe one of these dependency changes is causing this duplicate request id issue? It wasn't clear to me what might have triggered this change. |
@Gudahtt I'm now able to repro as well. The |
I believe I've identified the RPC requests with the duplicate IDs: https://github.com/MetaMask/eth-block-tracker/blob/master/src/polling.js#L69 Clearly these requests are passed through the extension UI's The question is, how are we processing these requests? I can't find the RpcEngine for the background connection on the UI-side. Adding an |
Added id remapping to Now something else broke, and upon review, my suspicion is that transactions are being created with undefined IDs, given that this error is thrown: https://github.com/MetaMask/metamask-extension/blob/develop/ui/app/ducks/confirm-transaction/confirm-transaction.duck.js#L353 It could be that because our now JSON RPC 2.0-compliant Edit: The erroring function was called in |
Ready for review. e2e tests are passing with the same errors as for #7029 Still needs QA @tmashuang @whymarrh, I don't want to mess with your RC, but? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments inline. Also can we rebase this on the latest develop
?
ui/app/pages/confirm-transaction/confirm-transaction.component.js
Outdated
Show resolved
Hide resolved
update internal deps to latest published versions
a0a6c15
to
6dcc001
Compare
6dcc001
to
962b62e
Compare
962b62e
to
7837cba
Compare
16fa0b6
to
c8d7262
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
This PR updates our internal dependencies to remove
babel@6
from our internal dependency graph. The only dependency requiringbabel@<7
orbabelify@<10
now isganache-core
, a dev dependency.Everyone developing on/with the extension should see less build issues, and we should be able to use
yarn/npm link
now, or for a time.The affected packages (and the corresponding PRs) are:
All PRs are merged, all packages