Closed runway-github[bot] closed 4 days ago
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.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
66.7% Coverage on New Code
0.0% Duplication on New Code
✅✅✅ pr_smoke_e2e_pipeline
passed on Bitrise! ✅✅✅
Commit hash: 26063b7209d58b6e9d4e3f6c22c11cc35bbaf6fa Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/d0ab1cd5-3b4f-433b-9826-f2e814db47a7
[!NOTE]
- You can kick off another
pr_smoke_e2e_pipeline
on Bitrise by removing and re-applying theRun Smoke E2E
label on the pull request
Description
The selector is trying to access some engine state that is removed at build time through code-fences. This fix ensures that the selectors are using the engine state or default to the controllers default state.
Long term - we need to investigate and ensure that the UI is not calling the selectors.
Related issues
Fixes: https://github.com/MetaMask/metamask-mobile/issues/11909
Manual testing steps
Screenshots/Recordings
Before / After Recording
https://www.loom.com/share/badc4b4cd3b0446486497973dcf337f6?sid=33bcfe23-c495-41bf-89f5-e57b4b72e3d2
I was not able to replicate the controller state being undefined/missing, so forced it to be undefined when testing.
Pre-merge author checklist
Pre-merge reviewer checklist