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

@@ -1,29 +1,33 @@
# IMPORTANT: No [qbft] section = follower node (not validator)
# Uncomment the below [linea] section for finalized L2 block tag
[linea]
contract-address = "0xB218f8A4Bc926cF1cA7b3423c154a0D627Bdb7E5"
l1-eth-api = { endpoint = "<your Sepolia RPC endpoint>" }
l1-eth-api = { endpoint = "${L1_RPC}" }
l1-polling-interval = "6 seconds"
l1-highest-block-tag = "finalized"
[persistence]
data-path = "/opt/maru/data"
data-path = "/opt/maru/data"
private-key-path = "/opt/maru/private-key"
[p2p]
port = 9000 # Default port (can be same as discovery)
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"]
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 = 9000
bootnodes = []
port = ${P2P_PORT}
advertise-ip = ${IP}
refresh-interval = "3s"
[payload-validator]
engine-api-endpoint = { endpoint = "http://linea-besu:8550" } # Match Besu port!
eth-api-endpoint = { endpoint = "http://linea-besu:8545" }
# 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

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>