• Mark Tyneway's avatar
    gas-oracle: allow configurable base fee poll interval · c535b3a5
    Mark Tyneway authored
    This commit adds a new config option that can be
    configured via argv with `--l1-base-fee-epoch-length-seconds`
    or an env var `GAS_PRICE_ORACLE_L1_BASE_FEE_EPOCH_LENGTH_SECONDS`.
    It defaults to 15 seconds. Ideally the implementation uses a
    duration flag instead of a uint64 flag, but that would be a
    breaking change for the config and this service will be
    deprecated in the future with the release of bedrock.
    
    By setting this value to a larger number, we are able to update
    the L1 base fee that is held in the L2 state less often.
    This will save the sequencer money, because it needs to
    front the costs of submitting these transactions.
    c535b3a5
Name
Last commit
Last update
.changeset Loading commit data...
.circleci Loading commit data...
.github Loading commit data...
.husky Loading commit data...
.vscode Loading commit data...
go Loading commit data...
infra/op-replica Loading commit data...
integration-tests Loading commit data...
l2geth Loading commit data...
ops Loading commit data...
packages Loading commit data...
patches Loading commit data...
technical-documents Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.eslintrc.js Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.nvmrc Loading commit data...
.prettierrc.js Loading commit data...
.prettierrc.json Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
lerna.json Loading commit data...
package.json Loading commit data...
tsconfig.build.json Loading commit data...
tsconfig.json Loading commit data...
yarn.lock Loading commit data...