-
Notifications
You must be signed in to change notification settings - Fork 510
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
[Ledger] Ledger connect via WCv2 fails on eth_getBalance
, but WalletConnect itself succeeds
#1873
Comments
Hi @tuckerchapin! |
I've created an issue on the WalletConnect's repo, WalletConnect/walletconnect-monorepo#3411. This happens on the Ledger connector because we are passing eth_getBalance by default on the optionalMethods property on the call to WalletConnect's ethereum-provider init(). It does not happens using the web3-onboard's WalletConnect connector because in that case it is not passed. We're fixing it on our side by updating Connect Kit. |
Thank you so much, looking forward to these upstream changes! |
Thanks @hlopes-ledger for looking into this! |
Just wanted to follow up on this! |
@tuckerchapin unfortunately @hlopes-ledger is no longer with Ledger. I have reached out to the Ledger team for more insight into the developing fixes ongoing. I will update here with any information. |
Any updates? |
Hi! Just checking in again... has this been resolved? |
@Adamj1232 @taylorjdawson Hey there, just wanted to see if this has been addressed yet? |
Current Behavior
Originally I had Ledger configured identically to WalletConnect, however
eth_getBalance
andeth_call
calls were all failing using the provider from the Ledger module, even though they were succeeding via the WalletConnect module. Using Ledger Live, I can connect via the Ledger module, which does not respond toeth_getBalance
. However, connecting to Ledger Live via WalletConnect works entirely as expected.Also,
enableDebugLogs
does not seem to really have any impact?Expected Behavior
For the Ledger connect module to return a provider that handles
eth_getBalance
calls properly where WalletConnect does as well.Steps To Reproduce
What package is effected by this issue?
@web3-onboard/ledger
Is this a build or a runtime issue?
Runtime
Package Version
core: 2.20.4, ledger: 2.5.1
Node Version
No response
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
Anything else?
No response
Sanity Check
The text was updated successfully, but these errors were encountered: