-
Couldn't load subscription status.
- Fork 274
Description
Once the precompile is added in #1734, integrate it into the EVM logic such that when activated, the precompile is able to effectively control the target gas consumption and price.
As specified in the ACP, when the precompile is activated, the targetExcess for gas in block headers must be set as the correct value derived from the TargetGas specified in the latest settled state of the precompile. This means that a node's desired target excess should be overridden when building blocks, and the targetExcess in each block header must be verified to be the exact value specified by the precompile, regardless of what it was in the parent block.