trufflesuite / ganache

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
2.62k stars 683 forks source link

Add `eth_feeHistory` RPC endpoint #1470

Closed leroldary closed 2 years ago

leroldary commented 3 years ago

The eth_feeHistory API was introduced in the JSON-RPC spec as a counterpart to EIP-1559. The API exposes information that is useful for setting parameters (maxPriorityFeePerGas, maxFeePerGas) for the new transaction fee mechanism.

seaona commented 2 years ago

+1! It would be very helpful to have support for eth_feeHistory in ganache

davidmurdoch commented 2 years ago

@seaona Would you like to add it?

seaona commented 2 years ago

@davidmurdoch sure! I'll try my best 😊

drortirosh commented 2 years ago

It is very problematic that ganache is partial eip-1559 eth_feeHistory is a required part of it.

MicaiahReid commented 2 years ago

@seaona any updates on a PR for this? No worries if you haven't been (or won't be) able to, just checking in.