Create EIP-1559.md

This commit is contained in:
bt3gl 2022-09-19 02:33:32 -07:00 committed by GitHub
parent 0e3fba4dc8
commit 368c7c158f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

18
MEV/EIP-1559.md Normal file
View file

@ -0,0 +1,18 @@
## MEV and EIP-1559
<br>
- The incorporation of EIP-1559 in the London hardfork brought a major restructuring of the Ethereum fee mechanism, aiming to allow for easier
fee estimation by users and consolidate ETH as the base currency of the network by burning part of the transaction fees.
- Under the new fee mechanism, instead of choosing a gas price for their transactions, users set a "priority fee" for miners to incentivize inclusion,
alongside a "max fee", stating the absolute maximum price that they are willing to pay. The protocol now sets a per-block "basefee", computed
programmatically from the amount of gas used in the block immediately before, in a negative feedback loop meant for block sizes to stabilize
around a target size $s_0$ (initially equal to the maximum current block size).
- Valid transactions pay a gas price equal to the basefee plus the
prioirity fee (only up to the max fee needed in case of sudden basefee increases). The prioirity fee goes to the miner, and, crucially,
the basefee is burnt.
- Implications for MEV-related infrastructure: eliminate the possibility of zero-Gwei transactions, which are presently used for front-running
protection in some DEXes like MistX, where miner fees are taken directly from the transferred tokens.