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

Provider updates for better chain handling #1502

Merged

Conversation

goosewobbler
Copy link
Contributor

  • getChainId / getNetVersion - return chainId when enabled regardless of connection status
  • wallet_getEthereumChains - return all enabled chains to the extension with connection status
  • wallet_watchAsset - handle disabled and nonexistent chains
  • tests updated

main/provider/index.ts Outdated Show resolved Hide resolved
main/provider/index.ts Outdated Show resolved Hide resolved
main/provider/chains/index.ts Show resolved Hide resolved
main/provider/index.ts Outdated Show resolved Hide resolved
@goosewobbler goosewobbler merged commit 436c76f into develop Apr 6, 2023
@goosewobbler goosewobbler deleted the sam/eng-50-rpc-custom-endpoint-default-text-doesnt branch April 6, 2023 13:48
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.

2 participants