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,52 @@
# Uncomment the below [linea] section for finalized L2 block tag
[linea]
contract-address = "0xB218f8A4Bc926cF1cA7b3423c154a0D627Bdb7E5"
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/3.129.120.128/tcp/31005/p2p/16Uiu2HAmR33t8RZiAHovuH9iH2UuUrajrbfyYowiYDAQo3D5Y9wg",
"/ip4/3.129.120.128/tcp/31006/p2p/16Uiu2HAm9HB5oNmnmj8yY6T7dfhLVidVzYqa8QVDtEthkMr6b8tx"
]
reconnect-delay = "500ms"
[p2p.discovery]
port = ${P2P_PORT}
advertise-ip = ${IP}
refresh-interval = "3s"
[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,26 @@
{
"chainId": 59141,
"config": {
"0": {
"type": "difficultyAwareQbft",
"blockTimeSeconds": 2,
"postTtdConfig": {
"validatorSet": ["0xb4323e9d9998990e6333293f8f0d2d09d1619328"],
"elFork": "Paris"
},
"terminalTotalDifficulty": 37331807
},
"1759147200": {
"type": "qbft",
"validatorSet": ["0xb4323e9d9998990e6333293f8f0d2d09d1619328"],
"blockTimeSeconds": 2,
"elFork": "Shanghai"
},
"1759233600": {
"type": "qbft",
"validatorSet": ["0xb4323e9d9998990e6333293f8f0d2d09d1619328"],
"blockTimeSeconds": 2,
"elFork": "Cancun"
}
}
}

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>