Module gas_oracle

Expand description

GPO specific constants

Constants§

CALL_STIPEND_GAS
Gas required at the beginning of a call.
DEFAULT_GAS_PRICE_BLOCKS
Number of recent blocks to check for gas price
DEFAULT_GAS_PRICE_PERCENTILE
The percentile of gas prices to use for the estimate
DEFAULT_IGNORE_GAS_PRICE
The default minimum gas price, under which the sample will be ignored
DEFAULT_MAX_GAS_PRICE
Maximum transaction priority fee (or gas price before London Fork) to be recommended by the gas price oracle
ESTIMATE_GAS_ERROR_RATIO
Allowed error ratio for gas estimation Taken from Geth’s implementation in order to pass the hive tests https://github.com/ethereum/go-ethereum/blob/a5a4fa7032bb248f5a7c40f4e8df2b131c4186a4/internal/ethapi/api.go#L56
MAX_HEADER_HISTORY
The default maximum number of blocks to use for the gas price oracle.
MAX_REWARD_PERCENTILE_COUNT
The default maximum number of allowed reward percentiles
RPC_DEFAULT_GAS_CAP
The default gas limit for eth_call and adjacent calls.
SAMPLE_NUMBER
The number of transactions sampled in a block