Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Devnet chainId not updated correctly #16

Open
1 task done
arjanjohan opened this issue Sep 19, 2024 · 0 comments
Open
1 task done

bug: Devnet chainId not updated correctly #16

arjanjohan opened this issue Sep 19, 2024 · 0 comments

Comments

@arjanjohan
Copy link
Owner

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.

image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant