-
Notifications
You must be signed in to change notification settings - Fork 202
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
wrong result for eth_gasPrice #2136
Comments
@sirpy Currently this endpoint returns a suggested gas price that works in the given network condition and not the base fee. celo-blockchain/contracts/gasprice_minimum/gasprice_minimum.go Lines 65 to 68 in d8b3680
On baklava the values matches your expectation because the base fee is lower (1gwei) and the multipler is 5. One solution to better handle this would be to create two endpoints, one for the base fee (similar to ethereum) and one for the suggested fee. What do you think about that? |
@palango sure, matching with ethereum standards would be best |
@palango though i dont think on any other network the get gas price returns a multiplier of the current gas costs. |
@palango |
@sirpy Yes, we will reduce the multiplier on forno as well, but now people that run their own nodes can also adjust the multiplier themselves. |
Expected Behavior
should return 5gwei or current baseFeePerGas
Actual Behavior
returns 25gwei
Steps to reproduce the behavior
Seems to work fine on Baklava
Chain/Network:
Alfajores/Mainnet
The text was updated successfully, but these errors were encountered: