In recent days, developers have warned that the planned inclusion of two Gas pricing adjustments for Glamsterdam upgrades could create compatibility problems for a small number of ENW contracts. The development team stated that most of the historical transactions were not affected by the playback test and that some of the anomalies could also be repaired by raising the cap of the transaction Gas.
Cost of adjustment of two proposals
This early warning focused on EIP-8037 and EIP-8038. The former raises the cost of creating a state on the chain, including new accounts, storage tanks and contract bytes, while the latter increases the cost of accessing the existing state to cover executive layers such as SLOAD, STORE, cold account access, etc.
According to the Taifung Foundation, this round of heavy pricing is in preparation for the subsequent upgrading of network capacity. As the state of the Taifung chain continues to expand and the certificationer supports the higher block Gas cap, higher resource-consumption operations require repricing.
Fixing Gas is the easiest scenario.
The developers, in accordance with the proposed pricing rules for Glamsterdam, released the history of the ETA host network and divided the results into four categories: complete non-change, Gas use changes but still successful, Gas ceilings that could be repaired, and even a significant increase in Gas could fail.
- Use 2,300 Gas stipend
- Internal contract death call Gas limit
- Use gasleft() for logical judgement
In particular, ETA mentioned that contracts using the Solidity history 2,300 Gas subsidy mechanism needed to be examined with emphasis. Because of the new status access pricing, operations that could have been done within that line in the past could have consumed more gas in the future.
The wallet and Gas tools are also updated.
The effect of this adjustment is not just on smart contracts. Wallet, RPC service providers, indexers and nodes tools are also required to update the Gas estimation system. If the software still uses old constants or cache parameters, it may underestimate the transactional requirements of Gas, which in turn leads to implementation failure.
A typical change is that part of the tool defaults that ordinary transfers always require 21,000 Gas. The developer noted that this assumption was not always valid: transfers to existing accounts remained at that level, but if transfers created new accounts, additional status costs would be added.
Test network is open.
New pricing rules are currently in operation for the Platåberget Test Network, also known as glam-devnet-8, which is available to the Taifeng developers as part of the upgrade tests. The contract maintainer can enter the address through an official check tool to see if the historical transaction is biased under the new rules.
Next, it will continue the devnet test and boost the fork test on Sepolia and Hodi. According to the current road map, the main web activation date has not yet been finally announced.
