create account

EIP 1559 Explained by tawadak24

View this thread on: hive.blogpeakd.comecency.com
· @tawadak24 ·
$2.53
EIP 1559 Explained
What is EIP 1559?

EIP = Ethereum Improvement Proposal, this was inspired by BIP, the Bitcoin Improvement Proposal.

Before we continue on the EIP 1559 Fee model. I will explain the current Ethereum fee model

___

**CURRENT ETHEREUM FEE MODEL**

It is based on simple auction mechanism also know as first price auction.
A person want his transaction to be picked by a miner need to bid their space in a block by submitting a gas price which they willing to pay for a particular transaction.
Then a miner are incentivize to pick up a transaction by sorting them by the highest gas fee, including the most profitable one first.

<img src="https://i.ibb.co/L0vjX0T/1.jpg" alt="1" border="0" />

This model also problematic to the wallet, Coinomi wallet for example, it allows the user to adjust their fee by choosing between slow, average, and fast confirmation time. The faster the transaction is the higher the gas fee. There is also a custom setting to manually specify any amount of gas fee, this will effects the transaction time.

As for user who submitted their transaction fee with the default gas value fee just before the spike of the gas fee, they may end up waiting for their transaction to be confirmed for a long period of time. This is of course not ideal to the user point of view and this is where EIP 1559 comes in.

___

**EIP 1559**

  i)  Making transaction fee more predictable.
 ii)  Reducing the delay on transaction confirmation.
iii)  Create a positive feedback loop between network activities and the Ethereum supply. 

**EIP 1559 FEE MODEL**
___

1 . They introduce a new concept called "Base fee". The Base fee is a base fee that has to be paid by a transaction to be included in a block. The base fee is set per block and can be adjusted up or down depending on how congested the Ethereum network is. 

2 . The increasing of network capacity activity by changing the maximum gas limit per block.

<img src="https://i.ibb.co/4dMY59x/2-gas-limit.jpg" alt="2-gas-limit" border="0" />

With the base fee and the increase of capacity, what EIP 1559 aims for is this:
-  when the network is more than 50% utilization, the base fee will increase.
-  when the network is at lower than 50% utilization, the base fee will decrease.

<img src="https://i.ibb.co/sC02rbY/3-network-utilization.jpg" alt="3-network-utilization" border="0" />

- This means the network aims to achieve equilibrium at 50% capacity b adjusting the fee accordingly to the network utilization. </n>

3 . EIP 1559 also introduce a "Miner Tip". This is a separate fee that can be paid directly to the miner, to incentivize them to prioritize certain transaction. This is similar to the previous mechanism where the miner can be incentivize by higher gas fee. This features is really important for some transaction that takes advantages for quick confirmations. 

** EIP 1559 VS CURRENT MODEL***
___

Current fee model example:
For an example, a minimum gas fee to be included in the previous block is 50 Gwei, and the network activities remain the same. So user starts submitting their transaction with default 50 Gwei gas fee. At the same time a new potential token launches, causing users who want to buy the new token increases their bid. Therefor to be included in the next block the minimum required fee is 100 Gwei and then the network activities remains high.

<img src="https://i.ibb.co/JQSMHHj/4-network-activities.jpg" alt="4-network-activities" border="0" />

And for multiple subsequent block the user who already submitted their transaction with 50 Gwei may have to wait for their confirmation for a very long period of time. In this case the block size is capped at 12.5M gas and the only way to get into the block is to bid higher than other users.

<img src="https://i.ibb.co/tbMGxhZ/4-network-activities-2.jpg" alt="4-network-activities-2" border="0" />

___

EIP 1559 fee model example:
In previous block the 50 Gwei is the base fee and the network utilization is at 50% with maximum block using 12.5M gas limit, half of the size of the maximum gas limit. The spike of the new token release result in user submitting their transaction with higher miner tip. Seeing the high demand on the block space and a lot of transaction with higher miner tip, the miners produce a block that at the maximum cap limit of 25M gas.

This will result in one transaction to be included in a block, but this also cause the base to be increased in the following block as the current block is 100% full.

<img src="https://i.ibb.co/yQjFwxJ/5-eip-activities.jpg" alt="5-eip-activities" border="0" />

If  the network activities remain high, the miner will keep producing full block, increasing the base fee with subsequent block. At some point the fee will be high enough to drive off some of the user causing the network starts to come back below to 50% network utilization and lowering the base fee. The base fee can be increase or decrease by a maximum of 12.5% per block. So it will take roughly 20 block around 5 minutes for gas price to get  10times of the base fee and 40 block to 100 times from base fee.

For example: 

<img src="https://i.ibb.co/RH6qk8x/6-block-base-fee-increase.jpg" alt="6-block-base-fee-increase" border="0" />

Below are the example of calculation done by excel.

<a href="https://ibb.co/sCSvcnn"><img src="https://i.ibb.co/nB2s499/7-fee-increase-100-block.jpg" alt="7-fee-increase-100-block" border="0"></a>

This example demonstrate how network fee can be smoother out when EIP 1559 is implemented. This also shows that is swaps from high volatility in fee prices for volatility on block size, because the increments and decrements are constrained, the difference in the base fee from block to block can be easily calculated, this allows wallet automatically can set the base fee based on the information from the previous block.

To avoid the situation where miner can collude and artificially inflate the base fee for their own benefit, the entire base fee is burnt. The miner tip is always entirely received by the miner.

Another concept known as " Fee cap" is introduced in this EIP 1559.
This enable users to set their limit on how much they want to pay for particular transaction instead of just paying their current base fee. Transaction with a fee cap that a lower than the current base fee will have to wait until the base fee is lower and the max fee is set in a fee cap to be included in the block.

The fee change are also backward compatible, the legacy Ethereum transaction will still work in the new fee system although they will not benefit directly from the new pricing model.


**Implication of EIP 1559**
___

- One major impact is, less profit to the miner.
- wallet changes, no need to estimate the gas fee anymore. They just can set the base fee automatically based on the information form the previous block. This will simplify wallet interface.


**Base fee burning**
___

- Burning the base fee create a feedback loop between the network usage and the Ethereum supply.
- More network activities = more Ethereum burned = less Ethereum available to be sold to the market by miners.
- Making the existing Ethereum much more valuable
- Burning the base fee basically reward the users of the network by making their Ethereum more scarce instead of overpaying miners.

The fee burning mechanism, will it make Ethereum deflationary? This will be possible if the block reward plus miner tip is lower than the base fee burned, that would be the case. 










Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@tawadak24/eip-1559-explained)
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authortawadak24
permlinkeip-1559-explained
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["cryptocurrency","crypto","cryptomining","eip1559","ethereum","ethereum2","ethereum1","defi","leofinance","cryptomarket"],"canonical_url":"https://leofinance.io/@tawadak24/eip-1559-explained","links":["https://ibb.co/sCSvcnn"],"image":["https://i.ibb.co/L0vjX0T/1.jpg","https://i.ibb.co/4dMY59x/2-gas-limit.jpg","https://i.ibb.co/sC02rbY/3-network-utilization.jpg","https://i.ibb.co/JQSMHHj/4-network-activities.jpg","https://i.ibb.co/tbMGxhZ/4-network-activities-2.jpg","https://i.ibb.co/yQjFwxJ/5-eip-activities.jpg","https://i.ibb.co/RH6qk8x/6-block-base-fee-increase.jpg","https://i.ibb.co/nB2s499/7-fee-increase-100-block.jpg"]}
created2021-03-10 02:51:57
last_update2021-03-10 02:51:57
depth0
children3
last_payout2021-03-17 02:51:57
cashout_time1969-12-31 23:59:59
total_payout_value1.266 HBD
curator_payout_value1.259 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length7,592
author_reputation138,800,454,340,963
root_title"EIP 1559 Explained"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,280,354
net_rshares5,403,574,116,441
author_curate_reward""
vote details (40)
@hivebuzz ·
Congratulations @tawadak24! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

<table><tr><td><img src="https://images.hive.blog/60x70/http://hivebuzz.me/@tawadak24/replies.png?202103091823"></td><td>You got more than 10 replies.<br>Your next target is to reach 50 replies.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@tawadak24) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>

properties (22)
authorhivebuzz
permlinkhivebuzz-notify-tawadak24-20210310t030419000z
categoryhive-167922
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2021-03-10 03:04:18
last_update2021-03-10 03:04:18
depth1
children0
last_payout2021-03-17 03:04:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length623
author_reputation369,463,726,018,713
root_title"EIP 1559 Explained"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,280,481
net_rshares0
@remenzer ·
Feels like my brain gonna explodes and produces brain's energy from that explosion, which will supplying enough energy to improve the ethereum proposal. Kidding. What I mean is, it takes time for me to digest all the informations that are given here. It is interesting to read. BTW, well written brother. Keep up the good work. All the best and good luck. 

Have a nice day! Take care!
👍  
properties (23)
authorremenzer
permlinkre-tawadak24-2021310t111416137z
categoryhive-167922
json_metadata{"tags":["cryptocurrency","crypto","cryptomining","eip1559","ethereum","ethereum2","ethereum1","defi","leofinance","cryptomarket"],"app":"ecency/3.0.14-mobile","format":"markdown+html"}
created2021-03-10 03:14:18
last_update2021-03-10 03:14:18
depth1
children1
last_payout2021-03-17 03:14:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length385
author_reputation20,921,536,855,319
root_title"EIP 1559 Explained"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,280,589
net_rshares1,939,024,948
author_curate_reward""
vote details (1)
@tawadak24 ·
Thank you bradsss, take your time, eventually you will understand and this article actually very straight forward and simple. XD and all the best to you too! 

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@tawadak24/re-remenzer-eiw7d)
👍  
properties (23)
authortawadak24
permlinkre-remenzer-eiw7d
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-167922","leofinance"],"canonical_url":"https://leofinance.io/@tawadak24/re-remenzer-eiw7d"}
created2021-03-10 05:08:15
last_update2021-03-10 05:08:15
depth2
children0
last_payout2021-03-17 05:08:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length253
author_reputation138,800,454,340,963
root_title"EIP 1559 Explained"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,281,590
net_rshares5,577,468,257
author_curate_reward""
vote details (1)