Fixing Sequencer to make it return gas price. Disabling compatibility… (#135)

* Fixing Sequencer to make it return gas price. Disabling compatibility mode for linea_estimateGas

* Fixed config test

* Removing console log
This commit is contained in:
Roman Vaseev
2024-10-03 16:59:55 +02:00
committed by GitHub
parent 196e232ce9
commit 2db07df57f
4 changed files with 21 additions and 11 deletions

View File

@@ -13,7 +13,7 @@ pnpm-install:
pnpm install
docker-pull-develop:
docker compose -f docker/compose.yml --profile l2 pull
L1_GENESIS_TIME=$(get_future_time) docker compose -f docker/compose.yml pull
clean-smc-folders:
rm -f contracts/.openzeppelin/unknown-31648428.json

View File

@@ -237,12 +237,9 @@ gas-price-lower-bound = 90000000 # 0.09 GWEI
[l2-network-gas-pricing.json-rpc-pricing-propagation]
geth-gas-price-update-recipients = [
"http://traces-node:8545/",
"http://l2-node:8545/"
]
besu-gas-price-update-recipients = [
"http://sequencer:8545/"
]
besu-gas-price-update-recipients = []
[l1-dynamic-gas-price-cap-service]
disabled=false

View File

@@ -433,12 +433,9 @@ class CoordinatorConfigTest {
),
jsonRpcGasPriceUpdaterConfig = GasPriceUpdaterImpl.Config(
gethEndpoints = listOf(
URI("http://traces-node:8545/").toURL(),
URI("http://l2-node:8545/").toURL()
),
besuEndPoints = listOf(
URI("http://sequencer:8545/").toURL()
),
besuEndPoints = listOf(),
retryConfig = l2NetworkGasPricingRequestRetryConfig
),
jsonRpcPriceUpdateInterval = 12.seconds,

View File

@@ -38,7 +38,8 @@ metrics-host="0.0.0.0"
metrics-port=9545
tx-pool-no-local-priority=false
api-gas-and-priority-fee-limiting-enabled=true
#
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
poa-block-txs-selection-max-time=1000
@@ -46,9 +47,24 @@ poa-block-txs-selection-max-time=1000
# plugins
plugin-linea-module-limit-file-path="/var/lib/besu/traces-limits.toml"
plugin-linea-deny-list-path="/var/lib/besu/deny-list.txt"
plugin-linea-estimate-gas-compatibility-mode-enabled=true
plugin-linea-estimate-gas-compatibility-mode-enabled=false
plugin-linea-extra-data-pricing-enabled=true
plugin-linea-l1l2-bridge-contract="0xe537D669CA013d86EBeF1D64e40fC74CADC91987"
plugin-linea-l1l2-bridge-topic="e856c2b8bd4eb0027ce32eeaf595c21b0b6b4644b326e5b7bd80a1cf8db72e6c"
plugin-linea-tx-pool-profitability-check-api-enabled=true
plugin-linea-tx-pool-profitability-check-p2p-enabled=true
plugin-linea-tx-pool-simulation-check-api-enabled=false
plugin-linea-tx-pool-simulation-check-p2p-enabled=false
plugin-linea-max-block-calldata-size=109000
plugin-linea-max-tx-calldata-size=60000
plugin-linea-max-block-gas=30000000
plugin-linea-tx-pool-min-margin="0.8"
plugin-linea-min-margin="1.0"
plugin-linea-fixed-gas-cost-wei=30000000
plugin-linea-variable-gas-cost-wei=1000000000
plugin-linea-extra-data-set-min-gas-price-enabled=false
plugin-linea-estimate-gas-min-margin="1.2"
strict-tx-replay-protection-enabled=false
Xplugin-rocksdb-high-spec-enabled=true
Xsynchronizer-fast-sync-full-validation-rate=0.000001