Commit ec343d64 authored by Mark Tyneway's avatar Mark Tyneway

gas-oracle: fix average block gas limit flag

The average block gas limit was converted to a uint64
from a float64, this commit updates the flag parsing
to parse the correct type.
parent 9e25314a
...@@ -77,7 +77,7 @@ var ( ...@@ -77,7 +77,7 @@ var (
Usage: "max percent change of gas price per second", Usage: "max percent change of gas price per second",
EnvVar: "GAS_PRICE_ORACLE_MAX_PERCENT_CHANGE_PER_EPOCH", EnvVar: "GAS_PRICE_ORACLE_MAX_PERCENT_CHANGE_PER_EPOCH",
} }
AverageBlockGasLimitPerEpochFlag = cli.Float64Flag{ AverageBlockGasLimitPerEpochFlag = cli.Uint64Flag{
Name: "average-block-gas-limit-per-epoch", Name: "average-block-gas-limit-per-epoch",
Value: 11_000_000, Value: 11_000_000,
Usage: "average block gas limit per epoch", Usage: "average block gas limit per epoch",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment