Do gas limit increases decrease gas prices?
The data includes all blocks produced between July 21st, 2020, 02:00:17 UTC (block 10500001) and July 27th, 2020, 06:37:09 UTC (block 10540000). It was obtained from Geth using a DAppNode full node with the wonderful ethereum-etl package from Evgeny Medvedev to extract transaction and block details.
Miners have some control over the gas limit of a block, but how much gas do blocks generally use?
The gas limit was increased from the previous limit of 10M gas, and gas used in blocks soon followed. We notice two peaks. Let’s zoom in.
How did the gas limit evolve over time?
We have a shift in the middle of the week from about 12M gas limit to 12.5M. Did this release some pressure from transaction fees?
First, some descriptive stats for the distribution of gas prices.
Quartile | Value |
---|---|
0.00 | 0.00000000 |
0.25 | 58.00000000 |
0.50 | 74.28724683 |
0.75 | 90.00000000 |
1.00 | 493956.20354572 |
75% of included transactions post a gas price less than or equal to 90 Gwei. This is much higher than in our last gas weather report in May.
To compute the average gas price in a block, I do a weighted mean using gas_used
as weight. I then compute the average gas price over 100 blocks by doing another weighted mean using the total gas used in the blocks.
We see a daily seasonality, with peaks and troughs corresponding to high congestion and low congestion hours of the day.
Did increasing the gas limit reduce the prices overall? We can take a look visually.
It doesn’t seem like it did to me, even though the average gas used in blocks increased in concert with the gas limit. We can look at average prices for transactions in blocks with gas limit lesser than 12.25M gas (“small blocks”) vs. blocks with gas limit greater than 12.25M (“big blocks”).
big_block | avg_gas_price |
---|---|
Big block | 75.42838546 |
Small block | 75.36684040 |
The two averages are mighty close to each other, with big blocks posting even slightly higher gas prices than small ones (a negligible difference however).