[QA] An "Unexpected error" occurs when user changes network
Opened this issue · 3 comments
Describe the current behavior in detail
Checked on https://preview.portalbridge.com/3b81f32422/ [Mainnet] (Portal Bridge: v0.2.15-Pf0410ac8df Wormhole Connect: v0.3.12-beta.2-development) with macOS Sonoma 14.5 and Google Chrome Version 125.0.6422.113 (Official Build) (x86_64).
Steps:
- Prepare to send 0.001 BNB from BSC (MetaMask) to Solana (Phantom)
- Change "From" network to Fantom.
Actual result: An unexpected error has occurred - "An unexpected error has occurred. Please refresh the page."
Error: Minified React error #300; visit https://reactjs.org/docs/error-decoder.html?invariant=300 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at Xh (pb-index-W-Mx2rcE.js:44:21973)
at dj (pb-index-W-Mx2rcE.js:46:3493)
at Wk (pb-index-W-Mx2rcE.js:46:49465)
at Vk (pb-index-W-Mx2rcE.js:46:43855)
at Uk (pb-index-W-Mx2rcE.js:46:43778)
at Jk (pb-index-W-Mx2rcE.js:46:43618)
at Ok (pb-index-W-Mx2rcE.js:46:39596)
at Fk (pb-index-W-Mx2rcE.js:46:40494)
at jg (pb-index-W-Mx2rcE.js:44:3542)
at pb-index-W-Mx2rcE.js:46:37736
Attachments
Screen.Recording.2024-06-06.at.12.07.55.mov
Reproducible on https://wormhole-connect-mainnet.netlify.app/ [Mainnet] with following scenario:
- Select Ethereum as source chain and connect MetaMask wallet
- Select Avalanche as target chain and connect MetaMask wallet
- Select ETH asset
- Change target chain to Fantom
Actual result: An unexpected error has occurred - "An unexpected error has occurred. Please refresh the page."
Error: Minified React error #300; visit https://reactjs.org/docs/error-decoder.html?invariant=300 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at Nh (main-HNR-Orw1.js:39:19157)
at cj (main-HNR-Orw1.js:41:3497)
at Vk (main-HNR-Orw1.js:41:49475)
at Uk (main-HNR-Orw1.js:41:43863)
at Tk (main-HNR-Orw1.js:41:43786)
at Ik (main-HNR-Orw1.js:41:43626)
at Nk (main-HNR-Orw1.js:41:39598)
at Ek (main-HNR-Orw1.js:41:40496)
at jg (main-HNR-Orw1.js:39:3536)
at main-HNR-Orw1.js:41:37740
Screen.Recording.2024-06-12.at.11.41.12.mov
Reproducible on https://preview.portalbridge.com/2c6f665417/ [Mainnet] with the scenario mentioned in the comment above:
- Select Ethereum as source chain and connect MetaMask wallet
- Select Avalanche as target chain and connect MetaMask wallet
- Select ETH asset
- Change target chain to Fantom
Reproducible on https://preview.portalbridge.com/ba2ee08429/ [Mainnet] with following scenario:
- Select Ethereum as source chain and connect MetaMask wallet
- Select BSC as target chain and connect MetaMask wallet
- Select wstETH Bridge
- Change target chain to Solana
Error appears in Console:
Error: Minified React error #300; visit https://reactjs.org/docs/error-decoder.html?invariant=300 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at Xh (pb-index-CrEkVHsa.js:44:21973)
at dj (pb-index-CrEkVHsa.js:46:3493)
at Wk (pb-index-CrEkVHsa.js:46:49465)
at Vk (pb-index-CrEkVHsa.js:46:43855)
at Uk (pb-index-CrEkVHsa.js:46:43778)
at Jk (pb-index-CrEkVHsa.js:46:43618)
at Ok (pb-index-CrEkVHsa.js:46:39596)
at Fk (pb-index-CrEkVHsa.js:46:40494)
at jg (pb-index-CrEkVHsa.js:44:3542)
at pb-index-CrEkVHsa.js:46:37736 {componentStack: '\n at RouteOption (https://preview.portalbridge.…dge.com/ba2ee08429/pb-index-CrEkVHsa.js:61:12462)'}