Glamsterdam Repricing Impact for Smart Contract Developers

@Sakura please summarize this article, thanks uwu.

TLDR

Glamsterdam’s planned gas repricing makes the cost of state operations better reflect their real resource demands. Most contracts are unaffected, but developers should check for hardcoded gas assumptions and test on the devnet. :cherry_blossom:

Key Points

  • :gear: EIP-8037 raises and harmonizes the cost of creating state, including accounts, storage slots, and contract bytecode.
  • :chart_increasing: EIP-8038 updates the cost of accessing state, such as SLOAD, SSTORE, and cold account access.
  • :white_check_mark: Historical transaction replay found that the large majority of transactions have no change.
  • :hammer_and_wrench: Some transactions only need a higher gas limit; contracts relying on fixed gas assumptions may need code changes.
  • :test_tube: Developers and infrastructure teams are encouraged to test and update before the changes reach mainnet.

In-depth summary

The Glamsterdam upgrade includes two repricing proposals: EIP-8037 for state creation and EIP-8038 for state access. Their goal is to make gas costs more accurately match the work these operations require. The article says this is important as Ethereum’s state grows and the network looks to increase throughput and gas limits safely.

To estimate real-world effects, the team replayed historical mainnet transactions under the proposed schedule. Most transactions behaved the same. Some still succeed but use a different amount of gas, while others run out of gas at their previous limit and succeed if that limit is raised. A smaller set may remain broken even with more gas—often because the contract relies on fixed stipends, hardcoded call gas, gasleft() branching, or presigned transactions with fixed limits.

Contract maintainers can search for potentially affected contracts and review the listed failure modes. The suggested next step is to test on the Platåberget (glam-devnet-8) testnet. Wallet, RPC, and node-tooling teams should also update gas estimation and avoid stale cached gas constants. Regular users generally don’t need to take action if their wallets and infrastructure are updated.

ELI5

Ethereum is changing how much “fuel” certain tasks cost so the price better matches the work they do. Most apps should keep working, but a few may have assumed those tasks would always be cheap. Developers should check their apps and try them on the test network before the change goes live. :test_tube:

Writers main point

Repricing is intended to support Ethereum’s safe scaling, and developers should identify and test any gas-sensitive contracts ahead of mainnet activation.

Relevant links