TechFlow reports that Vitalik Buterin has published a new article discussing the issue of multi-dimensional gas in the Ethereum Virtual Machine (EVM). He指出 that gas limits in the EVM have two aspects: each transaction sets a gas limit, capping the total amount of gas that can be used within that transaction; and when one contract calls another, the caller can set its own gas limit. This allows contracts to invoke other untrusted contracts while still guaranteeing that sufficient gas remains after the call to execute further computations.
However, one challenge with multi-dimensional gas proposals is that differentiating gas across execution types appears to require sub-calls to provide multiple limits for each gas type—necessitating fundamental changes to the EVM and breaking compatibility with existing applications.
Buterin proposes a solution: during a call operation, charge 2500 or 10000 gas based on the increase in max(execution_gas + 2500 * storage_operations, 10000 * storage_operations), by tracking storage_operations and execution_gas in real time. While this adds some complexity, it maximizes backward compatibility.
He suggests that the simplest multi-dimensional gas pricing solution is to treat sub-call gas limits proportionally. The author proposes two approaches: one allocates different gas types proportionally, while the other expresses the sub-call gas limit as a fraction of the remaining gas in the current context. The author notes that introducing multi-dimensional execution gas increases complexity, and some imperfection must be accepted at the EVM level to achieve L1 scalability gains.




