Note: EIP 1559 is considered to be the next major surgery for Ethereum. In this regard, Ethereum co-founder Vitalik Buterin compiled a FAQ, which first introduced the three major problems with Ethereum's current transaction fee mechanism and how the EIP 1559 proposal would alleviate these problems. In addition, he also explained the limit value setting of EIP 1559 and proposed a modified version of the plan to address possible miner objections. 1. What is EIP 1559?EIP 1559 is a proposal to change the Ethereum fee market. The main changes are as follows:
Essentially, our goal is not to have all short-term fluctuations in block space demand manifest themselves as fluctuations in transaction fees, but rather to have some of the fluctuations translate into fluctuations in block size. 2. Why is EIP 1559 beneficial to Ethereum?(The answer is copied from an old post) Currently, there are three major problems with the transaction fee market:
EIP 1559 has the following advantages:
3. Is the current fee market really that inefficient?Yes, in regular blocks the difference between the average gas price and the 10th percentile gas price is about 3x the median and 5-8x the mean. People are overpaying unnecessarily. Everyone who doesn't overpay suffers a delay of 1-2 minutes, or even longer, that doesn't actually benefit anyone. Whether a given unit of load arrives on-chain at time N or at time N+60, the total load on the chain is the same. At least under normal circumstances, there is no actual social benefit for participants to "express low time preference" in the fee market mechanism; it's pure deadweight loss. We'd all be better off if more transactions were included immediately, which is what EIP 1559 allows. 4. Will EIP 1559 put too much pressure on nodes and miners during periods of high market demand?Even in the short term, EIP 1559 will at most increase the block size by a factor of 2. Each "full block" (i.e. a block with 2x TARGET gas) will increase the BASEFEE by 1.125, so a series of constant full blocks will increase the gas price by a factor of 10 every 20 blocks (~4.3 minutes on average). Therefore, this heavy chain load will not actually last more than ~5 minutes. Note that currently due to differences in block production speed, a period of double load lasting 5 minutes occurs randomly approximately every ~63888 blocks (about 10 days). Therefore, the introduction of EIP 1559 will not introduce any unprecedented load on the system. Furthermore, the gas limit is just 10 million and not higher, which is largely justified not because of hard network limits (uncle rates are near all-time lows) but out of a concern for the long-term nature of:
In all three cases, what matters is not the upper capacity limit during a very short window, but the long-term average capacity. An uncle rate of 2% in odd hours and 18% in even hours would have the same effect on all three cases above, since the uncle rate is always 10%. Since EIP 1559 still caps long-term gas usage to an average of about 10 million per block, it does not affect the long-term average. 5. What will high usage scenarios look like with EIP 1559 compared to the current situation?Consider a “mathematically ideal peak” (e.g. this could happen in real life, like a sudden market event leading to a lot of arbitrage opportunities on a DEX, then there is a lot of bidding activity on liquidated CDPs, etc.), then there are N*10 million gas worth of transactions, each of which has a very high gas price, and all of them are broadcast. Under the current fee mechanism, this would lead to the following:
Now, let’s consider the case of using EIP 1559:
In the former case, ordinary users have to wait for more than N blocks, while in the latter case, ordinary users have to wait for N/2 blocks. Therefore, even including the “recovery period” after the peak, during which the block capacity will be smaller than normal, most transactions will be included in the blockchain more quickly. Below is a very crude simulation (lots of weird assumptions here, but it's hard to model a complete system with supply and demand curves and waiting times), the spreadsheet source is here. 6. What can EIP 1559 do in the event of larger and longer-lasting peaks (for example, peaks within a day)?There isn't much that can be done. The BASEFEE will go up, and there will be a short period of time where some transactions will come in faster, but after that the fee market will operate just like it does under "normal conditions", just at a higher fee level. The main benefit of EIP 1559 is that when fees are higher, the harm of regular fee market inefficiencies becomes more significant, so having a well-functioning fee market becomes more important. 7. Why is limit = target value * 2? Why not multiply by 4 or 8?Going beyond 2 is easy. The higher the limit/target ratio, the greater the fee market efficiency gains of EIP 1559. It depends on how severe short-term spikes we are willing to accept, 2x is a fairly conservative number, and we could even launch with a multiple of 2 and increase that multiple over time, but only if the network can perform well in the presence of short-term spikes. 8. Why are miners included in transactions?The EIP includes a "tip" fee that transaction senders can include, which will be sent to miners. It has two functions: first, if there are suddenly many more transactions than expected, miners will include transactions with higher tip fees first, so the fee-based priority mechanism exists as a backup. Second, it compensates miners for the risk of mining uncle blocks. The tip fee level to compensate for uncle block risk is calculated to be about 0.8 gwei (uncle blocks receive an average reward of 1.67 ETH instead of 2 ETH, so there is a loss of about 0.33 ETH. The uncle block rate increases by about 0.025 for a 10 million gas block compared to an empty block, so the expected cost of 1 gas is =330m/10m*0.025=0.825gwei). This tip fee is independent of the base fee (BASEFEE), so users can confidently set 1-1.5 gwei through their client implementation and expect their transactions to be accepted by miners. 9. Don’t miners have an incentive to collude to lower the base fee (BASEFEE) by making all blocks less than half full?In general, the effectiveness of this strategy is limited because unless almost everyone colludes, a transaction not included in a block will be included in the next block, so the impact of this operation on the long-term base fee is negligible. What miners can do, however, is a kind of "monopoly pricing". Suppose the sender of a transaction is willing to pay some extra fee to avoid delaying a block. Miners can refuse to accept transactions that do not contain the minimum tip fee T. They will lose some fees, but if the sender values the possibility that you will be the next miner and increases the fee with enough consideration for their transaction, then miners may benefit from it, but in general, this strategy is seriously disadvantageous to miners. Note that even if a miner adopting this strategy is successful, other miners will increase their revenue by more than their own (because other miners will free ride on the higher tip fees due to their actions), so this is not a centralization vector. This doesn't drive the BASEFEE down to zero, instead it reaches an equilibrium where the BASEFEE is still the majority of the fee and the tip makes up the rest. This is because, unless miners are colluding (in which case we have a much bigger problem), miners will incur the full cost of not including a transaction and only gain some benefit from a higher tip. If the community still believes that the risk for miners to adopt this strategy is too high, we can direct part of the revenue from EIP 1559 (e.g. 50%) to a pool, from which a small portion is used to increase miners' block rewards. This ensures that miners benefit from the high base fee, further reducing the likelihood of this attack. The following is a schematic diagram of the proposed EIP changes:
Note that in the context of Proof of Stake (PoS), it is best to enforce secret leader elections, as well as penalties for early disclosure, to prevent validators from simply accepting high tip fees and reaping the full benefit, since transaction senders will quickly know which validators are creating blocks. |
<<: As halving approaches and mining profits decline, Bitcoin miners are at a crossroads
>>: Bitcoin halving countdown 5 days! Price breaks through $9,200
The mouth is one of the five senses of the human ...
Illustrated explanation of women's palm readi...
From 9:00 to 10:00 am Beijing time on September 3...
An Iranian energy official has warned those in th...
How to identify people: palmistry fingers teach y...
Ant Financial, an affiliate of Alibaba Group Hold...
Everyone can say that people should look forward ...
Lips are one of the five facial features. In phys...
From the perspective of physiognomy, whether a pe...
What kind of palm lines are most attractive to me...
El Salvador’s president has unveiled the first st...
What do lucky ears look like? 1. Two ears touchin...
Bitcoin trading firms BlackRock and MARA Holdings...
Want to know if you will be lucky enough to succe...
People with narrow foreheads have narrow minds, w...