Home >web3.0 >Vitalik proposes new Ethereum improvement proposal EIP-7706! Designed to add new types of gas

Vitalik proposes new Ethereum improvement proposal EIP-7706! Designed to add new types of gas

WBOY
WBOYOriginal
2024-06-05 19:40:01699browse

Vitalik proposes new Ethereum improvement proposal EIP-7706! Designed to add new types of gas

Ethereum co-founder Vitalik Buterin (V God) proposed a new Ethereum improvement proposal "EIP-7706" on Github yesterday (13th), aiming to provide transaction calldata Add a new type of gas. Buterin’s decentralized social protocol Farcaster expressed the hope that this proposal will make the discussion of the concept of “multi-dimensional gas” more concrete.

EIP-7706 Proposal and Motivation

It is mentioned in the proposal that this transaction type provides max_basefee and priority_fee in vector form, which is suitable for "execution gas", "blob gas" and "Calldata gas" "Three types of gas, and the EIP-1559 proposal will be modified to ensure that the same mechanism is used for all three types of gas.

Note: Since the EIP-1559 upgrade, the gas fee consists of two types of fees: Base Fee (base fee) and Priority Fee (priority fee). The base fee is the minimum fee that needs to be paid for each transaction; The priority fee is an additional fee paid by users to miners in order to speed up transactions.

In addition, Buterin mentioned in the motive of the proposal that the current main argument against Ethereum increasing gas limits, reducing calldata costs, and increasing Blobcount is because the theoretical maximum space of Ethereum blocks is already too large and cannot afford further increases. cost, therefore introducing a separate gas market for calldata through EIP-7706.

Theoretically, the size of calldata will be greatly reduced, and on average, the cost of calldata will also be greatly reduced.

Ethereum’s multi-dimensional gas route

A few days before EIP-7706 was proposed, V God also mentioned the concept of "multi-dimensional gas" in his latest article. He was also in the article Blobs after Cancun upgrade (Dencun) are used as a practical case of multi-dimensional gas, and the benefits and prospects of this concept are discussed:

  • Stateless client: The stateless client is a A new type of client that can verify the blockchain while storing less or no data. However, due to many limitations, the efficiency of the block will be reduced when using a stateless client. In this regard, Buterin stated in the article that the multi-dimensional gas concept can respectively limit and charge storage access to ensure the average number of visits per block, and at the same time set limits for each block to improve the security and efficiency of the network.

  • Wider application: Multi-dimensional gas can adjust gas fees for different problems without affecting the security of Ethereum, rather than adjusting based on the maximum usage of each block .

  • Maximum value per transaction: In a single-dimensional gas system, the gas cost of a transaction is determined based on the gas consumed by both data and calculation. However, in a multi-dimensional gas system the gas cost can be determined based on the main resources consumed by the transaction. This approach improves throughput while maintaining security.

  • Multidimensional EIP-1559: The core of Multidimensional EIP-1559 is to adjust the basic fee of blobs by tracking the excess_blobs parameter to ensure that the average usage of blocks remains at the target level. When the number of blobs contained in a block exceeds the target value, the basic fee will increase to reduce usage; otherwise, it will decrease. This pricing mechanism allows transaction prices within a block to be dynamically adjusted to maintain a half-filled state. At the same time, a trigger restriction mechanism is set up to ensure reasonable competition in transactions.

Finally, Buterin added in the article that once multi-dimensional gas is introduced, the complexity of the system will increase significantly. Therefore, Ethereum faces a complex choice, "Whether it is willing to Accept more complexity on the EVM in exchange for unlocking Layer 2 scalability.”

The above is the detailed content of Vitalik proposes new Ethereum improvement proposal EIP-7706! Designed to add new types of gas. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn