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

Hyperliquid - HyperEVM default gas limit issue #2803

Open
JoshT64 opened this issue Feb 21, 2025 · 2 comments
Open

Hyperliquid - HyperEVM default gas limit issue #2803

JoshT64 opened this issue Feb 21, 2025 · 2 comments

Comments

@JoshT64
Copy link

JoshT64 commented Feb 21, 2025

Edit: created a PR here: #2804
Not sure if that's the fix but I checked another issue someone was having with Bifrost chain estimating too high, in our case we need to estimate higher for HyperEVM small blocks.

The default gas limit being set by Rabby on the HyperEVM is being set at 1,900,000.

This is causing issues on our Dapp because of the nature of small blocks vs big blocks on Hyperliquid. Our token creation contract calls are trying to be sent in small blocks which needs a higher gas limit, around 2,000,000 would work.

We're able to create the tokens completely fine with MetaMask. Explicitly setting a gas limit doesn't change anything on Rabby's end.

Any help would be greatly appreciated :)

Thanks

@JoshT64
Copy link
Author

JoshT64 commented Feb 21, 2025

I also see this issue https://github.com/RabbyHub/Rabby/pull/2726/files#diff-0928b4cf6bc62f13072f4d5481f2d0a9a910985b9768d60a9a04b1d1be274ea2R1179-R1181 and am wondering if this can be done in the same way for HyperEVM chains.

@vvvvvv1vvvvvv
Copy link
Member

The maximum value of gasLimit depends on block.gasLimit. Your PR sets the maximum gasLimit to 1.05 times of block.gasLimit. I am curious how this is possible. The gasLimit of a single transaction cannot be greater than block.gasLimit.

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

2 participants