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
Devnet chainId changes sometimes, and deployed modules don't show correctly anymore since they are mapped by chainId after deployment.
Expected Behavior
Always show the correct modules on devnet
Steps To Reproduce
Either deploy and wait for a devnet wipe, or manually change the chainId in deployedModules.ts to one that is not used anymore.
Anything else?
@aptos-labs/wallet-adapter-core has a helper function fetchDevnetChainId that can get chainId. It is an async function, so it is not so straight forward to implement in current Scaffold Move setup.
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
Devnet chainId changes sometimes, and deployed modules don't show correctly anymore since they are mapped by chainId after deployment.
Expected Behavior
Always show the correct modules on devnet
Steps To Reproduce
Either deploy and wait for a devnet wipe, or manually change the chainId in
deployedModules.ts
to one that is not used anymore.Anything else?
@aptos-labs/wallet-adapter-core
has a helper functionfetchDevnetChainId
that can get chainId. It is an async function, so it is not so straight forward to implement in current Scaffold Move setup.The text was updated successfully, but these errors were encountered: