DimensionDev / Maskbook

The portal to the new, open Internet. ([I:b])
https://mask.io
GNU Affero General Public License v3.0
1.51k stars 310 forks source link

[Crash] Error: Unknown chain id.(ITO's plugin card was showing error in xDai) #3910

Closed wenluomask closed 3 years ago

wenluomask commented 3 years ago

I changed Metamask to xDai network, then ITO's plugin card reports an error. It suppose to show "Not available on xDAI Chain Network" and switch network button.

Screen Shot 2021-08-09 at 5 33 43 PM

Unknown chain id.

Error stack:

Error: Unknown chain id.
    at useFungibleTokensDetailed (chrome-extension://bdddgebbfaiflnliaicpcgikhkaigikd/js/9098.js:29164:28)
    at PostInspector (chrome-extension://bdddgebbfaiflnliaicpcgikhkaigikd/js/chunk.7609.js:2907:170)
    at Ch (chrome-extension://bdddgebbfaiflnliaicpcgikhkaigikd/js/npm.react-dom.js:232:137)
    at si (chrome-extension://bdddgebbfaiflnliaicpcgikhkaigikd/js/npm.react-dom.js:259:255)
    at gk (chrome-extension://bdddgebbfaiflnliaicpcgikhkaigikd/js/npm.react-dom.js:356:346)
    at fk (chrome-extension://bdddgebbfaiflnliaicpcgikhkaigikd/js/npm.react-dom.js:343:22)
    at ek (chrome-extension://bdddgebbfaiflnliaicpcgikhkaigikd/js/npm.react-dom.js:342:369)
    at Vj (chrome-extension://bdddgebbfaiflnliaicpcgikhkaigikd/js/npm.react-dom.js:342:229)
    at Pj (chrome-extension://bdddgebbfaiflnliaicpcgikhkaigikd/js/npm.react-dom.js:331:476)
    at J (chrome-extension://bdddgebbfaiflnliaicpcgikhkaigikd/js/9098.js:19979:203)

Build info

Git (*):

b0d463dd7 (hotfix/1.35.2) on tag "v1.35.1" git@github.com:DimensionDev/Maskbook.git

guanbinrui commented 3 years ago

@zhouhanseng The <EthereumChainBoundary /> is not using.

wenluomask commented 3 years ago

Checked.