### Data and Storage ###
data-path="/data"
data-storage-format="BONSAI"

### Node and Network configuration ###
bootnodes=["enode://6f20afbe4397e51b717a7c1ad3095e79aee48c835eebd9237a3e8a16951ade1fe0e66e981e30ea269849fcb6ba03d838da37f524fabd2a557474194a2e2604fa@18.221.100.27:31002","enode://ce1e0d8e0500cb5c0ac56bdcdafb2d6320c3a2c5125b5ccf12f5dfc9b47ee74acbcafc32559017613136c9c36a0ce74ba4f83b7fb8244f099f3b15708d9d3129@3.23.75.47:31000","enode://1b026a5eb0ae74300f58987d235ef0e3a550df963345cb3574be3b0b54378bd11f14dfd515a8976f2c2d2826090e9507b8ccc24f896a9ffffffcabcfd996a733@3.129.120.128:31001"]
static-nodes-file="config/static-nodes.sepolia.json"

host-allowlist=["*"]
discovery-enabled=true
p2p-host="0.0.0.0"
p2p-port=30303
fast-sync-min-peers=3
max-peers=50

# For node to be a sequencer, this key has to match the key used in genesis file
node-private-key-file="/data/key"
genesis-file="genesis/genesis.testnet-sepolia.json" # Path to the custom genesis file
sync-mode="SNAP"
Xbonsai-full-flat-db-enabled=true

### Transaction pool ###
tx-pool-enable-save-restore=true
tx-pool-price-bump=1
tx-pool-max-future-by-sender=1000
tx-pool-min-gas-price="10000000"
tx-pool-layer-max-capacity="100000000"
tx-pool-no-local-priority=true

### RPC and API configuration ###
rpc-http-enabled=true
rpc-http-host="0.0.0.0"
rpc-http-port=8545
rpc-http-api=["ETH","NET","WEB3","DEBUG","TRACE","TXPOOL","LINEA","MINER"]
rpc-http-cors-origins=["all"]

rpc-ws-enabled=true
rpc-ws-api=["ETH","NET","WEB3"]
rpc-ws-host="0.0.0.0"
rpc-ws-port=8546

rpc-gas-cap="50000000"

graphql-http-enabled=true
graphql-http-host="0.0.0.0"
graphql-http-port=8547
graphql-http-cors-origins=["all"]

api-gas-price-blocks=20
api-gas-price-percentile=60
api-gas-and-priority-fee-limiting-enabled=true
api-gas-and-priority-fee-lower-bound-coefficient="120"

Xplugin-rocksdb-high-spec-enabled=true

### Metrics ###
metrics-enabled=true
metrics-host="0.0.0.0"
metrics-port=9545

### JWT and Engine Configuration ###
engine-jwt-disabled=false
engine-jwt-secret="/etc/jwt-secret.hex"
engine-rpc-enabled=false
engine-rpc-port=8551
engine-host-allowlist=["*"]

### Gas and Block Limit Configuration ###
min-gas-price="10000000"
target-gas-limit="2000000000"

### Plugin Configuration ###
plugins=["LineaEstimateGasEndpointPlugin","LineaL1FinalizationTagUpdaterPlugin","LineaExtraDataPlugin","LineaTransactionPoolValidatorPlugin"]
plugin-linea-module-limit-file-path="config/trace-limits.sepolia.toml"
plugin-linea-max-tx-calldata-size=60000
plugin-linea-max-block-calldata-size=70000
plugin-linea-max-tx-gas-limit=24000000
plugin-linea-estimate-gas-min-margin="1.2"
Xin-process-rpc-enabled=true
Xin-process-rpc-apis=["MINER", "ETH"]
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=true
plugin-linea-tx-pool-simulation-check-p2p-enabled=true
plugin-linea-min-margin="1.0"
plugin-linea-tx-pool-min-margin="0.8"
plugin-linea-fixed-gas-cost-wei=0
plugin-linea-variable-gas-cost-wei=10000000
plugin-linea-estimate-gas-compatibility-mode-enabled=false
plugin-linea-extra-data-pricing-enabled=true
plugin-linea-extra-data-set-min-gas-price-enabled=true
plugin-linea-max-block-gas=55000000
plugin-linea-l1l2-bridge-contract="0x33bf916373159A8c1b54b025202517BfDbB7863D"
plugin-linea-l1l2-bridge-topic="e856c2b8bd4eb0027ce32eeaf595c21b0b6b4644b326e5b7bd80a1cf8db72e6c"
plugin-linea-deny-list-path="config/denylist.sepolia.txt"

# LineaL1FinalizationTagUpdaterPlugin
plugin-linea-l1-polling-interval="PT12S"
plugin-linea-l1-smart-contract-address="0xB218f8A4Bc926cF1cA7b3423c154a0D627Bdb7E5"
plugin-linea-l1-rpc-endpoint="http://localhost:8545"
