go-ethereum/eth/gasestimator
Daniel Liu 5dc734c150 internal/ethapi, eth/gasestimator: honor block overrides in estimate gas
Apply block overrides consistently for eth_estimateGas by deriving an overridden header in DoEstimateGas and using it for estimator setup.

Since header does not carry blobBaseFee, plumb BlobBaseFee explicitly into gasestimator options and apply it to the EVM block context during execution.

Also add regression coverage for:

- gasLimit override bounding estimation allowance

- blobBaseFee override triggering ErrBlobFeeCapTooLow when BlobFeeCap is too low
2026-04-02 00:33:43 +08:00
..
gasestimator.go internal/ethapi, eth/gasestimator: honor block overrides in estimate gas 2026-04-02 00:33:43 +08:00