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] regression: eth_getBalance is requested when showBalance is disabled, again. #2177

Open
1 task done
einaralex opened this issue Sep 12, 2024 · 0 comments
Open
1 task done

Comments

@einaralex
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

RainbowKit Version

2.1.6

wagmi Version

2.12.0

Current Behavior

My dapp does not need the balance of the native currency and I've made sure that showBalance on the ConnectButton is off, but RainbowKitProvider still calls eth_getBalance every time it's rendered

This has been fixed before, See #1488

Expected Behavior

eth_getBalance should not be called and native balance should not be displayed in the account modal when showBalance is off.

Steps To Reproduce

No response

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

No response

Anything else?

No response

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