You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently clean-installed our hyperlane-warp-template fork (this meant removing caches and package-lock), and I found that @hyperlane-xyz/widgets, specifically ChainLogo crashes because it has references to Mumbai which seems to have been removed in https://github.com/hyperlane-xyz/hyperlane-monorepo/pull/3521/files. I'm not sure how the sdk generates the Chains constant (I couldn't find it)
On this line, this project references Chains.mumbai which I can't find when inspecting my node_modules folder.
You're entirely correct! The missing chain was indeed the cause of your error and the recent changes haven't properly observed semantic versioning, sorry.
We're overhauling the way the SDK, CLI, and Widget libs work right now. Instead of having metadata and logos for specific chains baked in, the utilities will take an IRegistry param which they'll use to fetch that kind of data. See here and here.
Thanks for your patience as we make the transition. As for this specific bug, it should be fixed by #8
I recently clean-installed our hyperlane-warp-template fork (this meant removing caches and package-lock), and I found that
@hyperlane-xyz/widgets
, specificallyChainLogo
crashes because it has references to Mumbai which seems to have been removed in https://github.com/hyperlane-xyz/hyperlane-monorepo/pull/3521/files. I'm not sure how the sdk generates theChains
constant (I couldn't find it)On this line, this project references
Chains.mumbai
which I can't find when inspecting mynode_modules
folder.This is what my package.json looks like:
From my understanding,
^
installs any minor patches. This means, I'm installing sdk and utils3.10.0
which have breaking changes for this project.The text was updated successfully, but these errors were encountered: