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

When using tx.wait() + Rabby + Custom RPC, it throws an error on Mainnet #4973

Open
RyanHolanda opened this issue Apr 5, 2025 · 0 comments
Assignees
Labels
investigate Under investigation and may be a bug. v6 Issues regarding v6

Comments

@RyanHolanda
Copy link

RyanHolanda commented Apr 5, 2025

Ethers Version

6.13.5

Search Terms

Invalid value for value.index; invalid numeric value; INVALID_ARGUMENT; BAD_DATA

Describe the Problem

When using Rabby with a custom RPC set at Ethereum Mainnet and send a transaction, then wait for confirmations using tx.wait(), ethers throw an error that shouldn't (I guess).

It makes it not possible to wait for the transaction to complete using .wait() as the transaction goes through, but this method throws

Code Snippet

tx.wait()

Contract ABI

Errors

Error: invalid value for value.index (invalid numeric value (argument="value", value=null, code=INVALID_ARGUMENT, version=6.7.0)) (value={ "effectiveGasPrice": "0x1dcd6500", "id": 2905839418, "jsonrpc": "2.0", "result": null }, code=BAD_DATA, version=6.7.0)

Environment

Ethereum (mainnet/ropsten/rinkeby/goerli)

Environment (Other)

Rabby with custom RPC

@RyanHolanda RyanHolanda added investigate Under investigation and may be a bug. v6 Issues regarding v6 labels Apr 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigate Under investigation and may be a bug. v6 Issues regarding v6
Projects
None yet
Development

No branches or pull requests

2 participants