Open
Description
This has been suggested by @poemm as a possible solution for updating gas costs in deployed contracts.
The current proposal is to meter contracts at deployment time which would lock in gas costs from that point on. In this method any "metering statements" (aka. call $useGas
) does not receive any special handling and is just treated as a regular call.
With re-metering we could have two options:
- update the constants in previously inserted metering statements (with the special rule of handling the first statement in each block)
- always remove metering statements prior to metering