linea now with maru

This commit is contained in:
goldsquid
2025-10-24 16:32:06 +07:00
parent 78bb1f32a4
commit 8d6ceb6794
15 changed files with 449 additions and 10 deletions

View File

@@ -0,0 +1,54 @@
# Uncomment the below [linea] section for finalized L2 block tag
[linea]
contract-address = "0xd19d4B5d358258f05D7B411E21A1460D11B0876F"
l1-eth-api = { endpoint = "${L1_RPC}" }
l1-polling-interval = "6 seconds"
l1-highest-block-tag = "finalized"
[persistence]
data-path = "/opt/maru/data"
private-key-path = "/opt/maru/private-key"
[p2p]
port = ${P2P_PORT} # Default port (can be same as discovery)
ip-address = "0.0.0.0"
static-peers = [
"/ip4/18.223.198.165/tcp/31005/p2p/16Uiu2HAmSJSpgBxVoMcRZ4u8CQbTgfPrbw6u7xH1BnMgwAQZAm91",
"/ip4/18.190.136.59/tcp/31006/p2p/16Uiu2HAm5DpcTYVLzZf45unDDrY9wYVbqeFnPo4CrpnF3tyXV3o8",
"/ip4/13.50.94.193/tcp/31003/p2p/16Uiu2HAmVcX8oB9KxmJdVAGybMyxuqtbY959i6uaew1agDBv9wk3",
"/ip4/3.1.142.64/tcp/31000/p2p/16Uiu2HAkuaxfz8ftqSSfG6hKG7B7MCUD9boXvawxKXz9eq7R6Tmi",
"/ip4/52.77.66.99/tcp/31001/p2p/16Uiu2HAmGNP9fqUnfCb5v8VAWczW12qmsEnYhNUw2v652Px9Kz5V"
]
reconnect-delay = "500ms"
[p2p.discovery]
port = ${P2P_PORT}
advertise-ip = ${IP}
[payload-validator]
# Besu and Geth node as execution layer client
engine-api-endpoint = { endpoint = "http://${EL_HOST}:8551", jwt-secret-path = "/jwtsecret" }
eth-api-endpoint = { endpoint = "http://${EL_HOST}:8545" }
payload-validation-enabled = false
[observability]
port = 9090
jvm-metrics-enabled = true
prometheus-metrics-enabled = true
[api]
port = 8080
[syncing]
peer-chain-height-polling-interval = "5s"
el-sync-status-refresh-interval = "5s"
sync-target-selection = "Highest"
desync-tolerance = 0
[syncing.download]
block-range-request-timeout = "10s"
blocks-batch-size = 10
blocks-parallelism = 10
max-retries = 5
backoff-delay = "1s"
use-unconditional-random-download-peer = false

View File

@@ -0,0 +1,20 @@
{
"chainId": 59144,
"config": {
"0": {
"type": "difficultyAwareQbft",
"blockTimeSeconds": 1,
"postTtdConfig": {
"validatorSet": ["0x9f31730181441beb67b10efaed5773767ea959bc"],
"elFork": "Paris"
},
"terminalTotalDifficulty": 49575263
},
"1761213600": {
"type": "qbft",
"validatorSet": ["0x9f31730181441beb67b10efaed5773767ea959bc"],
"blockTimeSeconds": 1,
"elFork": "Shanghai"
}
}
}

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="warn">
<Appenders>
<Console name="console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSSZZZ} | %t | %-5level | %c{1} | %msg %throwable%n" />
</Console>
</Appenders>
<Loggers>
<Logger name="maru" level="INFO" additivity="false">
<AppenderRef ref="console"/>
</Logger>
<!--
Set maru.clients to TRACE for more detailed client logs
DEBUG will log only failed requests
-->
<Logger name="maru.clients" level="DEBUG" additivity="false">
<AppenderRef ref="console"/>
</Logger>
<Root level="INFO" additivity="false">
<appender-ref ref="console"/>
</Root>
</Loggers>
</Configuration>