-
Notifications
You must be signed in to change notification settings - Fork 239
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
useContractEvents: {code: -32602, message: 'invalid params', data: 'from block is greater than latest block'} #2964
Comments
@gregfromstl any chance #2958 solved this? |
Unfortunately not. I still see the error message. https://token-bank.vercel.app/ (Deposit on Sepolia, then move to Base, inspect the console, you will begin to see the error below) - I've also raised this issue with a @Yash094 , CSE from ThirdWeb on Discord who is actively looking in to this I believe? |
Hey @RamanSB, thanks for opening an issue. This is a known bug with our RPCs and we're actively working on a fix. I'll let you know as soon as it's resolved |
Any update on this @gregfromstl ? |
Pinging this thread for an update |
Hey @RamanSB thanks for the ping, there's an issue on our RPCs that the team is still working through. I'll followup with them now |
@RamanSB we did an update to our RPC infra that should have resolved this - can you confirm? |
I can confirm the issue no longer exists. Thank you |
useContractEvents
and passing in the contract param works fine, however when changing network to another Network in my case (moving from Sepolia to Base) - I refetch a new contract and pass that in to useContractEvents, this now causes an issue regarding the blockNumber passed to the from param within:js/packages/thirdweb/src/react/core/hooks/contract/useContractEvents.ts
Line 84 in 8d1aaff
For more detail please view this issue.
The text was updated successfully, but these errors were encountered: