MIP 3 - Linear EVM memory cost

MIP3 - Linear EVM memory cost

This proposal reprices EVM memory expansion from a quadratic cost model to a linear one. To bound total memory usage within a block, each transaction is explicitly limited by its peak memory usage. The motivation is to better align EVM gas costs with real resource usage and to introduce an explicit invariant on total memory usage at the block level.

Any feedback or discussion is appreciated on:

  • the proposed linear memory cost model
  • the explicit per-transaction memory limit
  • potential DoS concerns
  • developer ergonomics and usage concerns