Skip to content

Add gas price configuration params and lower coordinator gas price #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/coordinator/coordinator-docker.config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -235,15 +235,15 @@ gas-price-fixed-cost = 3000000
legacy-fees-multiplier = 1.2
margin = 4.0
variable-cost-upper-bound = 10000000001 # ~10 GWEI
variable-cost-lower-bound = 90000001 # ~0.09 GWEI
variable-cost-lower-bound = 1000000 # 0.001 GWEI

[l2-network-gas-pricing.extra-data-pricing-propagation]
extra-data-update-recipient = "http://sequencer:8545/"

[l2-network-gas-pricing.legacy]
type="SampleTransaction"
gas-price-upper-bound = 10000000000 # 10 GWEI
gas-price-lower-bound = 90000000 # 0.09 GWEI
gas-price-lower-bound = 1000000 # 0.001 GWEI

[l2-network-gas-pricing.json-rpc-pricing-propagation]
geth-gas-price-update-recipients = [
Expand Down
9 changes: 6 additions & 3 deletions config/sequencer/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ metrics-port=9545

tx-pool-no-local-priority=false
#
api-gas-price-blocks=100
api-gas-price-percentile=50.0
api-gas-price-max=10000000 # 0.01 GWEI
api-gas-and-priority-fee-limiting-enabled=false
api-gas-and-priority-fee-lower-bound-coefficient=120
api-gas-and-priority-fee-upper-bound-coefficient=300
Expand All @@ -63,10 +66,10 @@ plugin-linea-max-tx-calldata-size=60000
plugin-linea-max-block-gas=24000000
plugin-linea-tx-pool-min-margin="0.8" # WARNING - DEV VALUE
plugin-linea-min-margin="1.0" # WARNING - DEV VALUE
plugin-linea-fixed-gas-cost-wei=30000000
plugin-linea-variable-gas-cost-wei=1000000000
plugin-linea-fixed-gas-cost-wei=3000000
plugin-linea-variable-gas-cost-wei=100000000
plugin-linea-extra-data-set-min-gas-price-enabled=true
plugin-linea-estimate-gas-min-margin="1.2 " # WARNING - DEV VALUE
plugin-linea-estimate-gas-min-margin="1.2" # WARNING - DEV VALUE
strict-tx-replay-protection-enabled=false

Xplugin-rocksdb-high-spec-enabled=true
Expand Down