Closed kamikazechaser closed 1 year ago
Relevant discussion -> https://forum.celo.org/t/increase-of-minimum-gas-fee-part-ii/4947
We could set it as minGasValue which will be accepted if the block gas target (20M) is not achieved. If it is achieved it will exponentially scale it up. For alfajores testing, 5 gwei is more than enough for now.
Using EIP 1559 with a max gas price of 20 gwei. See https://github.com/grassrootseconomics/celoutils.
Min gas prices could potentially fluctuate every block (~5sec). A gas cache routine should run either on every custodial instance and sync via block change websocket or a global cache which updates a redis key.