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

timeout calling estimateGas on Polygon zkEVM using Rabby #2048

Open
omnifient opened this issue Feb 14, 2024 · 13 comments
Open

timeout calling estimateGas on Polygon zkEVM using Rabby #2048

omnifient opened this issue Feb 14, 2024 · 13 comments

Comments

@omnifient
Copy link

Hi team, strange behaviour.

When using rabby, and making a call to estimateGas, it fails with http2: timeout awaiting response headers.
The same call works with Metamask, as well as with a local script.

This points to an incompatibility between Rabby and Polygon zkEVM - reaching out to you as this is mainly happening when using Rabby.

@omnifient omnifient changed the title timeout calling estimateGas on Polygon zkEVM timeout calling estimateGas on Polygon zkEVM using Rabby Feb 14, 2024
@coreycaplan3
Copy link

Just wanted to 👍 this. We're seeing users face this issue on Dolomite!

@vvvvvv1vvvvvv
Copy link
Member

How can I reproduce your issue?
Can you try to copy curl directly here?

@coreycaplan3
Copy link

How can I reproduce your issue? Can you try to copy curl directly here?

You can reproduce it by doing the following:

  • Visit app.dolomite.io
  • Select Polygon zkEVM network on the top toolbar
  • Press the Swap button on the Balances page to swap an asset you have deposited. I chose ETH --> MATIC
  • Attempt to submit the Swap and you can see the network request that fails as well as the error logged to the console, as shown below:
    image
  • Key thing is that all gas estimation calls fail

@vvvvvv1vvvvvv
Copy link
Member

How can I reproduce your issue? Can you try to copy curl directly here?

You can reproduce it by doing the following:

  • Visit app.dolomite.io
  • Select Polygon zkEVM network on the top toolbar
  • Press the Swap button on the Balances page to swap an asset you have deposited. I chose ETH --> MATIC
  • Attempt to submit the Swap and you can see the network request that fails as well as the error logged to the console, as shown below:
    image
  • Key thing is that all gas estimation calls fail
image This works in my side

@coreycaplan3
Copy link

The site sets a default gas limit if it fails. You'll need to check the dev console while submitting to see if it works or not (like in the screen shot I shared)

How can I reproduce your issue? Can you try to copy curl directly here?

You can reproduce it by doing the following:

  • Visit app.dolomite.io
  • Select Polygon zkEVM network on the top toolbar
  • Press the Swap button on the Balances page to swap an asset you have deposited. I chose ETH --> MATIC
  • Attempt to submit the Swap and you can see the network request that fails as well as the error logged to the console, as shown below:
    image
  • Key thing is that all gas estimation calls fail

image This works in my side

@vvvvvv1vvvvvv
Copy link
Member

reproduced, thanks

@vvvvvv1vvvvvv
Copy link
Member

should be fixed now

@coreycaplan3
Copy link

should be fixed now

image

I'm getting this error now when testing

@vvvvvv1vvvvvv
Copy link
Member

I tried other rpc but no one works with this call

@omnifient
Copy link
Author

omnifient commented Feb 22, 2024

we're almost there, this is what I got

image

  • did NOT get the same error as Corey
  • no errors in the console

@omnifient
Copy link
Author

hi @vvvvvv1vvvvvv any thoughts on this?

@coreycaplan3
Copy link

@vvvvvv1vvvvvv bumping this as well!

@vvvvvv1vvvvvv
Copy link
Member

should be fixed soon with our self-host rpc endpoint, this timeout caused by calling remote rpc endpoint

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

3 participants