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

feat: improve documentation of chain utils methods #45

Merged
merged 3 commits into from
Aug 17, 2023
Merged

Conversation

VGLoic
Copy link
Owner

@VGLoic VGLoic commented Aug 15, 2023

Summary

The documentation of the methods switchChain and addChain has been improved. In particular, a note about the error happening with switchChain in case of unknown network has been added.

Gnosis chain parameters have been updated in tests or README.

Resolve #43

src/metamask-context.ts Outdated Show resolved Hide resolved
@VGLoic VGLoic merged commit e435991 into main Aug 17, 2023
@VGLoic VGLoic deleted the feature/chain-doc branch August 17, 2023 11:49
@github-actions
Copy link

🎉 This PR is included in version 2.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

When switchNetwork with unknown chain, the function throws an exception with 4902 error code
2 participants