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