Compare commits
38 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fd27c9633b | |||
|
|
52b1201388 | ||
| dd8ce689e4 | |||
| 9bf8fb51ab | |||
| afafaea429 | |||
| d7ff81b9aa | |||
| 14dfd52da5 | |||
|
|
0785ee5482 | ||
| c28bab03e2 | |||
| cd216609bc | |||
| cf35b08a4e | |||
| fb0ba537ec | |||
| 120c070a1e | |||
| d2c2de7341 | |||
| d9d8920752 | |||
| 1758c921d7 | |||
| f7b585307e | |||
| 39df507eee | |||
| 9e666ca476 | |||
| f713744bb8 | |||
| 377d3af961 | |||
|
|
a54459e55f | ||
| 25b0ab049c | |||
| 8471404897 | |||
| 39d2fa93e2 | |||
| fb3dc6214c | |||
| 9fc368f405 | |||
| 6ce0fc2346 | |||
| 7ce0428db4 | |||
| b72cf641a9 | |||
| 5891d050f9 | |||
| 196744cf4f | |||
| 4dd902e9af | |||
| a7e9d4a65d | |||
|
|
8c46b66bdc | ||
| ee21a0245e | |||
| bda550eef6 | |||
| 59ff415fdb |
729
VIBE.md
Normal file
729
VIBE.md
Normal file
@@ -0,0 +1,729 @@
|
||||
# VIBE.md — ethereum-rpc-docker Operations & Debugging Guide
|
||||
|
||||
You are an LLM agent or operator **running or debugging blockchain RPC nodes** from this
|
||||
repository. This file is your **primary reference** for all operational tasks.
|
||||
|
||||
This repo contains Docker Compose configurations for blockchain RPC nodes plus operational
|
||||
scripts for managing them. Everything you need to run, monitor, debug, and fix nodes is here.
|
||||
|
||||
---
|
||||
|
||||
## 0. WHEN A NODE IS FAULTY — Start Here
|
||||
|
||||
### Immediate Triage (30 seconds)
|
||||
|
||||
```bash
|
||||
# 1. Is the container running?
|
||||
./show-running.sh
|
||||
|
||||
# 2. Check overall status of all configured nodes
|
||||
./show-status.sh
|
||||
|
||||
# 3. If you know the config name, check its specific status
|
||||
./sync-status.sh <config-name>
|
||||
|
||||
# 4. Check logs for the faulty node
|
||||
./logs.sh <config-name>
|
||||
```
|
||||
|
||||
**If the container isn't running**, go to [§3. Container Lifecycle Issues](#3-container-lifecycle-issues)
|
||||
|
||||
**If the container is running but not synced**, go to [§4. Sync Issues](#4-sync-issues)
|
||||
|
||||
**If the container is running and synced but RPC fails**, go to [§5. RPC/Connectivity Issues](#5-rpcconnectivity-issues)
|
||||
|
||||
**If you see errors in logs but aren't sure what they mean**, go to [§6. Log Interpretation](#6-log-interpretation)
|
||||
|
||||
---
|
||||
|
||||
## 1. Repository Overview
|
||||
|
||||
### What This Repo Contains
|
||||
|
||||
```
|
||||
rpc/
|
||||
├── *.yml # Docker Compose files for node configurations
|
||||
├── *.sh # Operational scripts (YOUR PRIMARY TOOLS)
|
||||
├── scripts/ # Additional helper scripts (CometBFT support)
|
||||
├── <network>/ # Network directories (e.g., ethereum/, op/, arb/)
|
||||
│ ├── *.yml # Compose files for specific chains
|
||||
│ └── <chain>/ # Chain-specific assets
|
||||
│ ├── genesis.json # Custom genesis files
|
||||
│ ├── rollup.json # Rollup configurations (OP Stack)
|
||||
│ └── *.Dockerfile # Custom build files
|
||||
├── README.md # User documentation
|
||||
└── VIBE.md # THIS FILE — operations guide
|
||||
```
|
||||
|
||||
### Key Concepts
|
||||
|
||||
- **Config name**: The compose filename WITHOUT `.yml` (e.g., `ethereum-mainnet-geth-pruned`)
|
||||
- **Service name**: Derived from config name, used in `docker compose` commands
|
||||
- **Short name**: Used in URL paths, container labels. Format: `{network}-{chain}[-{client}][-{db_type}]`
|
||||
- **Volume names**: Docker volumes follow the full config name pattern
|
||||
|
||||
### Supported Networks
|
||||
|
||||
**Layer 1**: Ethereum, Polygon, BSC, Avalanche, Gnosis, Fantom, Core, Berachain, Ronin, Viction, Fuse, Tron, ThunderCore, Goat, AlephZero, Haqq, Taiko, Rootstock, Dogecoin, Litecoin, Bitcoin, Bitcoin-Cash, Ripple, Solana, Tron
|
||||
|
||||
**Layer 2 (OP Stack)**: Optimism, Base, Zora, Mode, Blast, Fraxtal, Bob, Boba, Worldchain, Metal, Ink, Lisk, SNAX, Celo
|
||||
|
||||
**Layer 2 (Arbitrum)**: Arbitrum One, Arbitrum Nova, Everclear, Playblock, Real, Connext, OpenCampusCodex
|
||||
|
||||
**Other L2s**: Linea, Scroll, zkSync Era, Metis, Moonbeam, Starknet, zkEVM, Immutable zkEVM, Polygon zkEVM
|
||||
|
||||
---
|
||||
|
||||
## 2. Essential Scripts Reference
|
||||
|
||||
### Status & Monitoring Scripts
|
||||
|
||||
| Script | Usage | What It Does |
|
||||
|---|---|---|
|
||||
| `show-status.sh` | `[config-name]` | Lists ALL configured nodes with sync status, block height, health |
|
||||
| `show-running.sh` | | Lists currently running containers |
|
||||
| `sync-status.sh` | `<config-name>` | Detailed sync status for one config |
|
||||
| `latest.sh` | `<config-name>` | Latest block number + hash |
|
||||
| `logs.sh` | `<config-name>` | Tail logs from all containers in a config |
|
||||
| `show-db-size.sh` | | Disk usage of ALL Docker volumes, sorted by size |
|
||||
| `show-ram.sh` | `<config-name>` | Memory usage of containers |
|
||||
| `show-cpu.sh` | | CPU usage display |
|
||||
| `peer-count.sh` | | P2P peer count for all running nodes |
|
||||
| `time-since-last-block.sh` | `<config-name>` | How long since last block was processed |
|
||||
| `ping.sh` | `<container-name>` | Test network connectivity from container |
|
||||
| `show-errors.sh` | | Show error counts/logs across containers |
|
||||
| `show-size.sh` | | Show size of containers/volumes |
|
||||
| `show-file-size.sh` | | Show static file sizes |
|
||||
| `show-static-file-size.sh` | | Show static file sizes (alternative) |
|
||||
|
||||
### Lifecycle Management Scripts
|
||||
|
||||
| Script | Usage | What It Does |
|
||||
|---|---|---|
|
||||
| `start.sh` | `<config-name>` | Start all containers for a config |
|
||||
| `stop.sh` | `<config-name>` | Stop all containers for a config |
|
||||
| `force-recreate.sh` | `<config-name>` | Force recreate containers (keeps volumes) |
|
||||
| `rm.sh` | `<config-name>` | Remove containers (keeps volumes) |
|
||||
| `delete-volumes.sh` | `<config-name>` | **DESTRUCTIVE** - Remove containers AND volumes |
|
||||
| `delete-node-keys.sh` | `<config-name>` | Remove node keys (for re-initialization) |
|
||||
|
||||
### Backup & Restore Scripts
|
||||
|
||||
| Script | Usage | What It Does |
|
||||
|---|---|---|
|
||||
| `backup-node.sh` | `<config-name> [url]` | Backup volumes locally or to WebDAV |
|
||||
| `restore-volumes.sh` | `<config-name> [url]` | Restore volumes from local or HTTP |
|
||||
| `clone-node.sh` | `<config-name>` | Clone a node's state |
|
||||
| `clone-backup.sh` | | Clone backup files |
|
||||
| `clone-peers.sh` | | Clone peer information |
|
||||
| `restore-peers.sh` | | Restore peer connections |
|
||||
| `list-backups.sh` | | List available backup files |
|
||||
| `list-peer-backups.sh` | | List peer backup files |
|
||||
| `list-restorable.sh` | | List restorable configurations |
|
||||
| `cleanup-backups.sh` | | Remove old backups |
|
||||
| `cleanup-volumes.sh` | | Clean up unused volumes |
|
||||
|
||||
### Network & Connectivity Scripts
|
||||
|
||||
| Script | Usage | What It Does |
|
||||
|---|---|---|
|
||||
| `upstreams.sh` | | Generate dshackle upstream configuration |
|
||||
| `connect-peers.sh` | | Connect to peer nodes |
|
||||
| `search-node.sh` | `<query>` | Search compose files for patterns |
|
||||
| `search-compose.sh` | `<query>` | Search compose files |
|
||||
| `network-to-config.sh` | | Map network names to config files |
|
||||
| `reload_dshackle.sh` | | Reload dshackle configuration |
|
||||
| `update-whitelist.sh` | | Update IP whitelist |
|
||||
| `update-ip.sh` | | Update IP configuration |
|
||||
|
||||
### Specialized Scripts
|
||||
|
||||
| Script | Usage | What It Does |
|
||||
|---|---|---|
|
||||
| `op-wheel.sh` | | OP rollup maintenance (rewind, set forkchoice) |
|
||||
| `op-wheel-finalize-latest-block.sh` | `<client_svc> [node_svc]` | Finalize latest block (nuclear option) |
|
||||
| `catchup.sh` | `<config-name>` | Help node catch up to chain head |
|
||||
| `success-if-almost-synced.sh` | `<config-name> <seconds>` | Exit 0 if node is almost synced |
|
||||
| `groq.sh` | | Query using Groq |
|
||||
| `trai.sh` | | Trace transaction |
|
||||
| `multicurl.sh` | | Parallel curl requests |
|
||||
| `blocknumber.sh` | | Get block number |
|
||||
| `get-block.sh` | | Get block information |
|
||||
| `get-local-url.sh` | | Get local RPC URL |
|
||||
| `get-shortname.sh` | `<config-file>` | Get short name for a config |
|
||||
| `disk-space.sh` | | Check disk space |
|
||||
| `limit-bandwidth.sh` | | Limit bandwidth |
|
||||
| `maintenance.sh` | | Maintenance helper |
|
||||
| `random-port.sh` | | Generate random port |
|
||||
| `reference-rpc-endpoint.sh` | | Reference RPC endpoint helper |
|
||||
| `reset-terminal.sh` | | Reset terminal |
|
||||
| `setup-bandwidth-limit-cron.sh` | | Setup cron for bandwidth limiting |
|
||||
|
||||
---
|
||||
|
||||
## 3. Container Lifecycle Issues
|
||||
|
||||
### Symptom: Container Won't Start
|
||||
|
||||
```bash
|
||||
# Check why it failed
|
||||
./logs.sh <config-name> 2>&1 | tail -50
|
||||
|
||||
# Check container exit code
|
||||
docker ps -a --filter "name=<config-name>" --format "{{.Names}} | {{.State}} | {{.Status}}"
|
||||
|
||||
# Inspect the container
|
||||
docker inspect <container-name> | jq '.[0].State'
|
||||
```
|
||||
|
||||
**Common causes:**
|
||||
- **Port conflict**: Two services trying to bind to same host port
|
||||
- **Volume permission issues**: Docker can't write to volume
|
||||
- **Missing environment variables**: `.env` file incomplete
|
||||
- **Invalid compose syntax**: YAML parsing error
|
||||
- **Image pull failure**: Network issue or private registry auth
|
||||
|
||||
**Fixes:**
|
||||
```bash
|
||||
# Check for port conflicts
|
||||
grep -h "^[0-9]\{1,5\}:[0-9]" *.yml | sort | uniq -d
|
||||
|
||||
# Validate compose syntax
|
||||
docker compose -f <config-file>.yml config
|
||||
|
||||
# Pull images manually
|
||||
docker compose -f <config-file>.yml pull
|
||||
|
||||
# Start with --build if using custom Dockerfiles
|
||||
docker compose -f <config-file>.yml up -d --build
|
||||
```
|
||||
|
||||
### Symptom: Container Exits Immediately After Starting
|
||||
|
||||
```bash
|
||||
# View the last 100 lines of logs before exit
|
||||
./logs.sh <config-name> 2>&1 | tail -100
|
||||
|
||||
# Check exit code
|
||||
docker ps -a --filter "name=<service>" --format "{{.Status}}"
|
||||
|
||||
# Run interactively to see error
|
||||
docker compose -f <config-file>.yml run --rm <service-name> sh
|
||||
```
|
||||
|
||||
**Common causes:**
|
||||
- **Missing config files**: `/config/` mount empty or wrong path
|
||||
- **Invalid flags**: Command-line arguments malformed
|
||||
- **Database corruption**: Existing data incompatible with new version
|
||||
- **Checkpoint/genesis mismatch**: Chain ID or genesis doesn't match
|
||||
|
||||
**Fixes:**
|
||||
```bash
|
||||
# Verify config directory exists (if using custom configs)
|
||||
ls -la <network>/<chain>/
|
||||
|
||||
# Try with fresh volumes (DESTRUCTIVE)
|
||||
./delete-volumes.sh <config-name>
|
||||
./start.sh <config-name>
|
||||
```
|
||||
|
||||
### Symptom: Container Restarts Repeatedly (Crash Loop)
|
||||
|
||||
```bash
|
||||
# Watch logs in real-time
|
||||
./logs.sh <config-name> -f
|
||||
|
||||
# Check restart count
|
||||
docker inspect <container-name> | jq '.[0].RestartCount'
|
||||
|
||||
# Check last restart reason
|
||||
docker inspect <container-name> | jq '.[0].State.ExitCode, .[0].State.Error'
|
||||
```
|
||||
|
||||
**Common causes:**
|
||||
- **OOM killed**: Memory limit exceeded
|
||||
- **Out of disk space**: No space left on device
|
||||
- **Segmentation fault**: Client bug or bad data
|
||||
- **Panic**: Go client panic
|
||||
|
||||
**Fixes:**
|
||||
```bash
|
||||
# Check memory usage
|
||||
./show-ram.sh <config-name>
|
||||
|
||||
# Check disk space
|
||||
df -h /var/lib/docker
|
||||
./show-db-size.sh
|
||||
|
||||
# Increase resources in compose file or .env
|
||||
# Then force recreate
|
||||
./force-recreate.sh <config-name>
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 4. Sync Issues
|
||||
|
||||
### Symptom: Node Not Syncing (Stuck at Block 0 or Low Block)
|
||||
|
||||
```bash
|
||||
# Check sync status
|
||||
./sync-status.sh <config-name>
|
||||
|
||||
# Check current block
|
||||
./latest.sh <config-name>
|
||||
|
||||
# Check logs for sync errors
|
||||
./logs.sh <config-name> | grep -i -E "sync|error|fail|warn|stuck|behind"
|
||||
|
||||
# Check peer count
|
||||
./peer-count.sh | grep <config-name>
|
||||
```
|
||||
|
||||
**Common causes:**
|
||||
- **No peers**: P2P network connection failed
|
||||
- **Wrong network**: Connected to wrong chain
|
||||
- **Checkpoint too old**: Checkpoint URL unavailable or outdated
|
||||
- **Snapshot download failed**: Snapshot server unreachable
|
||||
|
||||
**Fixes:**
|
||||
```bash
|
||||
# Check if checkpoint/snapshot is configured
|
||||
grep -E "(checkpoint|snapshot)" <config-file>.yml
|
||||
|
||||
# Test checkpoint URL manually
|
||||
curl -I $(grep checkpoint <config-file>.yml | grep -oE 'http[^ ]+')
|
||||
|
||||
# Check peer connections (geth example)
|
||||
docker exec <client-container> admin_peers | jq '.[] | .network.remoteAddress' | wc -l
|
||||
```
|
||||
|
||||
### Symptom: Sync is Very Slow
|
||||
|
||||
```bash
|
||||
# Check sync speed over time
|
||||
./latest.sh <config-name>; sleep 60; ./latest.sh <config-name>
|
||||
|
||||
# Check if node is processing blocks
|
||||
./time-since-last-block.sh <config-name>
|
||||
|
||||
# Check CPU and memory
|
||||
top -d 1 -p $(docker inspect <container> | jq -r '.[0].State.Pid')
|
||||
```
|
||||
|
||||
**Common causes:**
|
||||
- **Resource constrained**: CPU throttled, memory swapped
|
||||
- **Disk I/O bottleneck**: Slow storage or contention
|
||||
- **Network rate limited**: P2P or RPC rate limiting
|
||||
- **Too many peers**: P2P overhead
|
||||
- **Wrong sync mode**: Full sync instead of snap sync
|
||||
|
||||
### Symptom: Sync Stuck at Specific Block
|
||||
|
||||
```bash
|
||||
# Check logs around the stuck block
|
||||
./logs.sh <config-name> | grep -A 10 -B 10 "block <stuck-block-number>"
|
||||
|
||||
# Check if it's a known bad block
|
||||
# Search online: <chain> bad block <number>
|
||||
```
|
||||
|
||||
**Common causes:**
|
||||
- **Bad block in chain**: Requires client patch or manual intervention
|
||||
- **State trie inconsistency**: Database corruption
|
||||
- **Fork choice issue**: Node on wrong fork
|
||||
|
||||
**Fixes for OP Stack:**
|
||||
```bash
|
||||
# Try to finalize past the block
|
||||
./op-wheel-finalize-latest-block.sh <client-service>
|
||||
```
|
||||
|
||||
### Symptom: Node on Wrong Fork / Chain
|
||||
|
||||
```bash
|
||||
# Check chain ID
|
||||
./latest.sh <config-name> | grep -i chain
|
||||
|
||||
# Check what chain the node thinks it's on
|
||||
docker exec <client-container> ethdo chain --endpoint=http://localhost:8545
|
||||
|
||||
# Compare with expected chain ID
|
||||
grep chainId <config-file>.yml
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 5. RPC/Connectivity Issues
|
||||
|
||||
### Symptom: RPC Endpoint Not Responding
|
||||
|
||||
```bash
|
||||
# Test from host
|
||||
curl -s http://localhost:<port> | head -c 100
|
||||
|
||||
# Check if traefik/proxy is running
|
||||
docker ps | grep -E "(traefik|proxy|nginx)"
|
||||
|
||||
# Check traefik logs
|
||||
docker logs <traefik-container> | tail -50
|
||||
```
|
||||
|
||||
**Common causes:**
|
||||
- **Container not running**: Client crashed
|
||||
- **Port not exposed**: Wrong port mapping
|
||||
- **Traefik misconfiguration**: Labels wrong or missing
|
||||
- **Firewall blocking**: Host firewall or cloud security group
|
||||
|
||||
### Symptom: RPC Returns Wrong Chain ID
|
||||
|
||||
```bash
|
||||
# Query chain ID from RPC
|
||||
curl -s -X POST http://localhost:<port> \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":1}'
|
||||
```
|
||||
|
||||
### Symptom: Cannot Connect to P2P Network
|
||||
|
||||
```bash
|
||||
# Check peer count
|
||||
./peer-count.sh | grep <config-name>
|
||||
|
||||
# Test P2P connectivity from container
|
||||
docker exec <client-container> nc -zv <bootstrap-node> <p2p-port>
|
||||
```
|
||||
|
||||
**Fixes:**
|
||||
```bash
|
||||
# Set public IP in .env
|
||||
IP=$(curl -s ipinfo.io/ip)
|
||||
echo "IP=$IP" >> .env
|
||||
./force-recreate.sh <config-name>
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 6. Log Interpretation
|
||||
|
||||
### Common Log Patterns
|
||||
|
||||
#### Warnings (Node may still function)
|
||||
| Pattern | Meaning | Action |
|
||||
|---|---|---|
|
||||
| `WARN.*sync.*slow` | Sync slower than expected | Check resources |
|
||||
| `WARN.*peers.*low` | Fewer peers than desired | Check P2P connectivity |
|
||||
| `WARN.*rate.*limit` | API rate limiting active | Normal for public endpoints |
|
||||
|
||||
#### Errors (Node is degraded)
|
||||
| Pattern | Meaning | Action |
|
||||
|---|---|---|
|
||||
| `Error.*database.*corrupt` | Database corruption | Restore from backup or resync |
|
||||
| `Error.*handshake.*fail` | P2P handshake failed | Check chain ID |
|
||||
| `Error.*no.*peers` | Cannot connect to P2P | Check bootstrap nodes |
|
||||
| `Error.*timeout` | RPC/HTTP timeout | Check network, increase timeout |
|
||||
|
||||
#### Fatal (Node will not function)
|
||||
| Pattern | Meaning | Action |
|
||||
|---|---|---|
|
||||
| `Fatal.*panic` | Client crashed | Check client version |
|
||||
| `Fatal.*OOM` | Out of memory | Increase memory limit |
|
||||
| `Fatal.*disk.*full` | No disk space | Free space |
|
||||
| `Fatal.*permission.*denied` | Filesystem permissions | Fix volume permissions |
|
||||
|
||||
---
|
||||
|
||||
## 7. Resource Issues
|
||||
|
||||
### High CPU Usage
|
||||
```bash
|
||||
./show-ram.sh <config-name>
|
||||
./show-cpu.sh
|
||||
docker stats <container-name> --no-stream
|
||||
```
|
||||
|
||||
### High Memory Usage
|
||||
```bash
|
||||
./show-ram.sh <config-name>
|
||||
docker stats <container-name> --no-stream --format "{{.Container}} | {{.MemUsage}} | {{.MemPerc}}"
|
||||
```
|
||||
|
||||
### High Disk Usage
|
||||
```bash
|
||||
./show-db-size.sh
|
||||
docker system df -v
|
||||
```
|
||||
|
||||
### Disk I/O Bottleneck
|
||||
```bash
|
||||
iotop -o -d 1
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 8. Backup and Restore
|
||||
|
||||
### Creating a Backup
|
||||
```bash
|
||||
# Local backup (to /backup directory)
|
||||
./backup-node.sh <config-name>
|
||||
|
||||
# Remote backup (to WebDAV)
|
||||
./backup-node.sh <config-name> https://backup-server.tld/dav
|
||||
```
|
||||
|
||||
### Restoring from Backup
|
||||
```bash
|
||||
# List available backups
|
||||
./list-backups.sh
|
||||
|
||||
# Restore latest backup for config
|
||||
./restore-volumes.sh <config-name>
|
||||
|
||||
# Restore from specific URL
|
||||
./restore-volumes.sh <config-name> https://backup-server.tld/backup/
|
||||
```
|
||||
|
||||
### Cloning a Node
|
||||
|
||||
```bash
|
||||
# Clone a node to a new location
|
||||
./clone-node.sh <config-name>
|
||||
|
||||
# Clone peers (for faster sync)
|
||||
./clone-peers.sh <config-name>
|
||||
```
|
||||
|
||||
### Nuclear Option: Full Reset
|
||||
|
||||
```bash
|
||||
# WARNING: This deletes ALL data for the config
|
||||
./stop.sh <config-name> && \
|
||||
./rm.sh <config-name> && \
|
||||
./delete-volumes.sh <config-name> && \
|
||||
./delete-node-keys.sh <config-name> && \
|
||||
./force-recreate.sh <config-name>
|
||||
|
||||
# Then check logs
|
||||
./logs.sh <config-name>
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 9. Common Error Messages
|
||||
|
||||
### Database Errors
|
||||
| Error | Cause | Solution |
|
||||
|---|---|---|
|
||||
| `database is corrupted` | Power loss, bug | Restore from backup or resync |
|
||||
| `database version mismatch` | Client version changed | Delete and resync |
|
||||
|
||||
### P2P Errors
|
||||
| Error | Cause | Solution |
|
||||
|---|---|---|
|
||||
| `no configured peers` | Missing bootstrap nodes | Add bootstrap nodes |
|
||||
| `handshake failed` | Chain ID mismatch | Verify genesis.json |
|
||||
|
||||
### RPC Errors
|
||||
| Error | Cause | Solution |
|
||||
|---|---|---|
|
||||
| `method not found` | Wrong client | Use correct client |
|
||||
| `connection refused` | Port not open | Check container running, port mapping |
|
||||
|
||||
---
|
||||
|
||||
## 10. OP Stack Specific Debugging
|
||||
|
||||
### OP Node Issues
|
||||
|
||||
```bash
|
||||
# Check op-node logs
|
||||
./logs.sh <config-name> | grep -i "op-node\|rollup\|sequencer"
|
||||
|
||||
# Check rollup configuration (if custom)
|
||||
cat op/<network>/ethereum/rollup.json | jq .
|
||||
|
||||
# Check if rollup.json is mounted
|
||||
docker exec <op-node-container> cat /config/rollup.json | jq .
|
||||
```
|
||||
|
||||
### OP Wheel (Manual Intervention)
|
||||
|
||||
```bash
|
||||
# Rewind to specific block (DANGEROUS - only if you know what you're doing)
|
||||
./op-wheel.sh engine set-forkchoice \
|
||||
--unsafe=<block-hash> \
|
||||
--safe=<block-hash> \
|
||||
--finalized=<block-hash> \
|
||||
--engine=http://<client-service>:8551/ \
|
||||
--engine.open=http://<client-service>:8545 \
|
||||
--engine.jwt-secret-path=/jwtsecret
|
||||
|
||||
# Nuclear option: finalize latest local block
|
||||
./op-wheel-finalize-latest-block.sh <client-service> <node-service>
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 11. CometBFT Family (Cosmos, etc.) Specific
|
||||
|
||||
### Init Container Issues
|
||||
|
||||
```bash
|
||||
# CometBFT chains use init.sh inside the container
|
||||
# The master script is at scripts/cometbft-common.sh
|
||||
|
||||
# Check if init completed
|
||||
./logs.sh <config-name> | grep -i "init\|setup\|complete"
|
||||
|
||||
# Check the init script
|
||||
cat <network>/<chain>/scripts/init.sh
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 12. Quick Start Guide
|
||||
|
||||
### Starting a Node
|
||||
|
||||
```bash
|
||||
# 1. Set up environment
|
||||
echo "IP=$(curl -s ipinfo.io/ip)" > .env
|
||||
echo "DOMAIN=${IP//./-}.traefik.me" >> .env
|
||||
echo "MAIL=your-email@example.com" >> .env
|
||||
|
||||
# 2. Select which nodes to run
|
||||
# Add compose files to COMPOSE_FILE (colon-separated)
|
||||
echo "COMPOSE_FILE=base.yml:rpc.yml:ethereum-mainnet-geth-pruned.yml" >> .env
|
||||
|
||||
# 3. Start the node
|
||||
docker compose up -d
|
||||
|
||||
# 4. Verify it's running
|
||||
./show-status.sh
|
||||
```
|
||||
|
||||
### Accessing Your Node
|
||||
|
||||
```bash
|
||||
# Once running, access via:
|
||||
# HTTP: http://<your-domain>/ethereum-mainnet-geth-pruned
|
||||
# HTTPS: https://<your-domain>/ethereum-mainnet-geth-pruned
|
||||
# WebSocket: wss://<your-domain>/ethereum-mainnet-geth-pruned
|
||||
|
||||
# Or locally (if NO_SSL=true):
|
||||
# HTTP: http://localhost:<port>
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 13. Configuration Reference
|
||||
|
||||
### Environment Variables
|
||||
|
||||
**Required for most setups:**
|
||||
```bash
|
||||
IP=203.0.113.42 # Your public IP
|
||||
DOMAIN=203-0-113-42.traefik.me # Your domain (traefik.me for testing)
|
||||
MAIL=your-email@example.com # For Let's Encrypt SSL
|
||||
WHITELIST=0.0.0.0/0 # IP whitelist (0.0.0.0/0 = all)
|
||||
```
|
||||
|
||||
**Optional:**
|
||||
```bash
|
||||
NO_SSL=true # Disable SSL (testing only)
|
||||
CHAINS_SUBNET=192.168.0.0/26 # Docker network subnet
|
||||
```
|
||||
|
||||
**Chain-specific (examples):**
|
||||
```bash
|
||||
ETHEREUM_MAINNET_EXECUTION_RPC=https://fallback-rpc.example.com
|
||||
ARBITRUM_SEPOLIA_EXECUTION_RPC=https://arb-sepolia-rpc.example.com
|
||||
OP_NODE_NETWORK=mainnet
|
||||
OP_NODE_L1_RPC_URL=https://l1-rpc.example.com
|
||||
```
|
||||
|
||||
### Compose File Structure
|
||||
|
||||
Each compose file defines one or more services:
|
||||
- **client**: Execution layer (Geth, Erigon, Reth, etc.)
|
||||
- **node**: Consensus/derivation node (op-node, lighthouse, etc.)
|
||||
- **relay**: DA relay (eigenda-proxy, op-alt, etc.)
|
||||
- **proxy**: HTTP/WS proxy (nginx, etc.)
|
||||
- **database**: External database (Postgres, etc.)
|
||||
|
||||
### Volume Naming
|
||||
|
||||
Volumes are named after the config:
|
||||
```
|
||||
<config-name>_<service>_data
|
||||
<config-name>_<service>_config
|
||||
```
|
||||
|
||||
Example: `ethereum-mainnet-geth-pruned_client_data`
|
||||
|
||||
---
|
||||
|
||||
## 14. Quick Debugging Checklist
|
||||
|
||||
Use this checklist when debugging an issue:
|
||||
|
||||
- [ ] **Is the container running?** → `./show-running.sh`
|
||||
- [ ] **Are there errors in logs?** → `./logs.sh <config> | grep -i error`
|
||||
- [ ] **Is the node synced?** → `./sync-status.sh <config>`
|
||||
- [ ] **Are peers connected?** → `./peer-count.sh`
|
||||
- [ ] **Are resources adequate?** → `./show-ram.sh`, `./show-db-size.sh`
|
||||
- [ ] **Is P2P working?** → Check peer count
|
||||
- [ ] **Is RPC responding?** → Test with curl
|
||||
- [ ] **Is disk space available?** → `df -h /var/lib/docker`
|
||||
- [ ] **Is the config file correct?** → `docker compose -f <file>.yml config`
|
||||
- [ ] **Are environment variables set?** → Check `.env`
|
||||
- [ ] **Is the genesis file correct?** → Check chain ID
|
||||
|
||||
---
|
||||
|
||||
## 15. When to Escalate
|
||||
|
||||
Escalate to a human operator if:
|
||||
|
||||
- [ ] Node stuck for > 2 hours with no progress
|
||||
- [ ] Repeated `Fatal` or `panic` errors after restart
|
||||
- [ ] Database corruption confirmed
|
||||
- [ ] Issue affects multiple nodes across different chains
|
||||
- [ ] Need to force-push to this repo
|
||||
|
||||
---
|
||||
|
||||
## 16. File Locations Quick Reference
|
||||
|
||||
| What You Need | Where to Find It |
|
||||
|---|---|
|
||||
| Compose files | Root of this repo (`*.yml`) |
|
||||
| Operational scripts | Root of this repo (`*.sh`) |
|
||||
| Chain assets | `<network>/<chain>/` or `<stack>/<network>/<settlement>/` |
|
||||
| Genesis files | `<stack>/<network>/<settlement>/genesis.json` |
|
||||
| Rollup configs | `op/<network>/<settlement>/rollup.json` |
|
||||
| Custom Dockerfiles | `<path>/*.Dockerfile` |
|
||||
| Init scripts | `<path>/scripts/init.sh` |
|
||||
| CometBFT common | `scripts/cometbft-common.sh` |
|
||||
| Compose registry | `compose_registry.json` |
|
||||
| RPC endpoints | `reference-rpc-endpoint.json` |
|
||||
| Environment | `.env` |
|
||||
|
||||
---
|
||||
|
||||
## 17. Resource Requirements Reference
|
||||
|
||||
| Node Type | Disk | RAM | CPU |
|
||||
|---|---|---|---|
|
||||
| Ethereum pruned | ~500GB | 8GB | 2+ cores |
|
||||
| Ethereum archive | ~2TB+ | 16GB+ | 4+ cores |
|
||||
| Ethereum archive-trace | ~4TB+ | 32GB+ | 8+ cores |
|
||||
| L2 pruned | ~100-500GB | 4-8GB | 2+ cores |
|
||||
| L2 archive | ~1-2TB | 8-16GB | 4+ cores |
|
||||
|
||||
**Note:** Requirements vary by chain. Check specific chain documentation.
|
||||
|
||||
---
|
||||
|
||||
*This file is your complete operations and debugging reference. For additional user documentation, see README.md.*
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
abstract-mainnet-archive:
|
||||
image: ${ABSTRACT_EXTERNAL_NODE_IMAGE:-matterlabs/external-node}:${ABSTRACT_MAINNET_EXTERNAL_NODE_VERSION:-v29.17.0}
|
||||
image: ${ABSTRACT_EXTERNAL_NODE_IMAGE:-matterlabs/external-node}:${ABSTRACT_MAINNET_EXTERNAL_NODE_VERSION:-v31.0.0}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
abstract-mainnet:
|
||||
image: ${ABSTRACT_EXTERNAL_NODE_IMAGE:-matterlabs/external-node}:${ABSTRACT_MAINNET_EXTERNAL_NODE_VERSION:-v29.17.0}
|
||||
image: ${ABSTRACT_EXTERNAL_NODE_IMAGE:-matterlabs/external-node}:${ABSTRACT_MAINNET_EXTERNAL_NODE_VERSION:-v31.0.0}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
abstract-testnet-archive:
|
||||
image: ${ABSTRACT_EXTERNAL_NODE_IMAGE:-matterlabs/external-node}:${ABSTRACT_TESTNET_EXTERNAL_NODE_VERSION:-v29.17.0}
|
||||
image: ${ABSTRACT_EXTERNAL_NODE_IMAGE:-matterlabs/external-node}:${ABSTRACT_TESTNET_EXTERNAL_NODE_VERSION:-v31.0.0}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
abstract-testnet:
|
||||
image: ${ABSTRACT_EXTERNAL_NODE_IMAGE:-matterlabs/external-node}:${ABSTRACT_TESTNET_EXTERNAL_NODE_VERSION:-v29.17.0}
|
||||
image: ${ABSTRACT_EXTERNAL_NODE_IMAGE:-matterlabs/external-node}:${ABSTRACT_TESTNET_EXTERNAL_NODE_VERSION:-v31.0.0}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -73,7 +73,7 @@ services:
|
||||
- --node.feed.input.url=wss://apechain.calderachain.xyz/feed
|
||||
- --node.sequencer=false
|
||||
- --node.staker.enable=false
|
||||
- --parent-chain.connection.url=${ARBITRUM_ONE_EXECUTION_RPC}
|
||||
- --parent-chain.connection.url=https://arb1.arbitrum.io/rpc
|
||||
- --persistent.chain=/root/.arbitrum/apechain-mainnet-archive
|
||||
- --persistent.db-engine=pebble
|
||||
- --ws.addr=0.0.0.0
|
||||
|
||||
@@ -73,7 +73,7 @@ services:
|
||||
- --node.feed.input.url=wss://apechain.calderachain.xyz/feed
|
||||
- --node.sequencer=false
|
||||
- --node.staker.enable=false
|
||||
- --parent-chain.connection.url=${ARBITRUM_ONE_EXECUTION_RPC}
|
||||
- --parent-chain.connection.url=https://arb1.arbitrum.io/rpc
|
||||
- --persistent.chain=/root/.arbitrum/apechain-mainnet
|
||||
- --persistent.db-engine=pebble
|
||||
- --ws.addr=0.0.0.0
|
||||
|
||||
@@ -74,7 +74,7 @@ services:
|
||||
- --metrics.port=6060
|
||||
- --nat=extip:${IP}
|
||||
- --port=12759
|
||||
- --rpc.gascap=0
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.txfeecap=0
|
||||
- --state.scheme=path
|
||||
- --syncmode=snap
|
||||
|
||||
@@ -80,7 +80,7 @@ services:
|
||||
- --metrics.port=6060
|
||||
- --nat=extip:${IP}
|
||||
- --port=12853
|
||||
- --rpc.gascap=0
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.txfeecap=0
|
||||
- --state.scheme=hash
|
||||
- --syncmode=full
|
||||
|
||||
@@ -80,7 +80,7 @@ services:
|
||||
- --metrics.port=6060
|
||||
- --nat=extip:${IP}
|
||||
- --port=14596
|
||||
- --rpc.gascap=0
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.txfeecap=0
|
||||
- --state.scheme=path
|
||||
- --syncmode=snap
|
||||
|
||||
@@ -75,7 +75,7 @@ services:
|
||||
- --metrics.port=6060
|
||||
- --nat=extip:${IP}
|
||||
- --port=12037
|
||||
- --rpc.gascap=0
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.txfeecap=0
|
||||
- --state.scheme=path
|
||||
- --syncmode=full
|
||||
|
||||
@@ -74,7 +74,7 @@ services:
|
||||
- --metrics.port=6060
|
||||
- --nat=extip:${IP}
|
||||
- --port=12037
|
||||
- --rpc.gascap=0
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.txfeecap=0
|
||||
- --state.scheme=path
|
||||
- --syncmode=snap
|
||||
|
||||
@@ -49,7 +49,7 @@ services:
|
||||
args:
|
||||
LLVM_IMAGE: ${LLVM_IMAGE:-snowstep/llvm}
|
||||
LLVM_VERSION: ${LLVM_VERSION:-20250912105042}
|
||||
RETH_VERSION: ${BSC_CHAPEL_RETH_VERSION:-v0.0.6-beta}
|
||||
RETH_VERSION: ${BSC_CHAPEL_RETH_VERSION:-v0.0.6.3}
|
||||
RETH_REPO: ${BSC_CHAPEL_RETH_REPO:-https://github.com/bnb-chain/reth-bsc.git}
|
||||
ARCH_TARGET: ${ARCH_TARGET:-native}
|
||||
PROFILE: ${RETH_BUILD_PROFILE:-maxperf}
|
||||
|
||||
@@ -49,7 +49,7 @@ services:
|
||||
args:
|
||||
LLVM_IMAGE: ${LLVM_IMAGE:-snowstep/llvm}
|
||||
LLVM_VERSION: ${LLVM_VERSION:-20250912105042}
|
||||
RETH_VERSION: ${BSC_CHAPEL_RETH_VERSION:-v0.0.6-beta}
|
||||
RETH_VERSION: ${BSC_CHAPEL_RETH_VERSION:-v0.0.6.3}
|
||||
RETH_REPO: ${BSC_CHAPEL_RETH_REPO:-https://github.com/bnb-chain/reth-bsc.git}
|
||||
ARCH_TARGET: ${ARCH_TARGET:-native}
|
||||
PROFILE: ${RETH_BUILD_PROFILE:-maxperf}
|
||||
|
||||
@@ -49,7 +49,7 @@ services:
|
||||
args:
|
||||
LLVM_IMAGE: ${LLVM_IMAGE:-snowstep/llvm}
|
||||
LLVM_VERSION: ${LLVM_VERSION:-20250912105042}
|
||||
RETH_VERSION: ${BSC_CHAPEL_RETH_VERSION:-v0.0.6-beta}
|
||||
RETH_VERSION: ${BSC_CHAPEL_RETH_VERSION:-v0.0.6.3}
|
||||
RETH_REPO: ${BSC_CHAPEL_RETH_REPO:-https://github.com/bnb-chain/reth-bsc.git}
|
||||
ARCH_TARGET: ${ARCH_TARGET:-native}
|
||||
PROFILE: ${RETH_BUILD_PROFILE:-maxperf}
|
||||
|
||||
@@ -49,7 +49,7 @@ services:
|
||||
args:
|
||||
LLVM_IMAGE: ${LLVM_IMAGE:-snowstep/llvm}
|
||||
LLVM_VERSION: ${LLVM_VERSION:-20250912105042}
|
||||
RETH_VERSION: ${BSC_CHAPEL_RETH_VERSION:-v0.0.6-beta}
|
||||
RETH_VERSION: ${BSC_CHAPEL_RETH_VERSION:-v0.0.6.3}
|
||||
RETH_REPO: ${BSC_CHAPEL_RETH_REPO:-https://github.com/bnb-chain/reth-bsc.git}
|
||||
ARCH_TARGET: ${ARCH_TARGET:-native}
|
||||
PROFILE: ${RETH_BUILD_PROFILE:-maxperf}
|
||||
|
||||
@@ -49,7 +49,7 @@ services:
|
||||
args:
|
||||
LLVM_IMAGE: ${LLVM_IMAGE:-snowstep/llvm}
|
||||
LLVM_VERSION: ${LLVM_VERSION:-20250912105042}
|
||||
RETH_VERSION: ${BSC_MAINNET_RETH_VERSION:-v0.0.6-beta}
|
||||
RETH_VERSION: ${BSC_MAINNET_RETH_VERSION:-v0.0.6.3}
|
||||
RETH_REPO: ${BSC_MAINNET_RETH_REPO:-https://github.com/bnb-chain/reth-bsc.git}
|
||||
ARCH_TARGET: ${ARCH_TARGET:-native}
|
||||
PROFILE: ${RETH_BUILD_PROFILE:-maxperf}
|
||||
|
||||
@@ -49,7 +49,7 @@ services:
|
||||
args:
|
||||
LLVM_IMAGE: ${LLVM_IMAGE:-snowstep/llvm}
|
||||
LLVM_VERSION: ${LLVM_VERSION:-20250912105042}
|
||||
RETH_VERSION: ${BSC_MAINNET_RETH_VERSION:-v0.0.6-beta}
|
||||
RETH_VERSION: ${BSC_MAINNET_RETH_VERSION:-v0.0.6.3}
|
||||
RETH_REPO: ${BSC_MAINNET_RETH_REPO:-https://github.com/bnb-chain/reth-bsc.git}
|
||||
ARCH_TARGET: ${ARCH_TARGET:-native}
|
||||
PROFILE: ${RETH_BUILD_PROFILE:-maxperf}
|
||||
|
||||
@@ -49,7 +49,7 @@ services:
|
||||
args:
|
||||
LLVM_IMAGE: ${LLVM_IMAGE:-snowstep/llvm}
|
||||
LLVM_VERSION: ${LLVM_VERSION:-20250912105042}
|
||||
RETH_VERSION: ${BSC_MAINNET_RETH_VERSION:-v0.0.6-beta}
|
||||
RETH_VERSION: ${BSC_MAINNET_RETH_VERSION:-v0.0.6.3}
|
||||
RETH_REPO: ${BSC_MAINNET_RETH_REPO:-https://github.com/bnb-chain/reth-bsc.git}
|
||||
ARCH_TARGET: ${ARCH_TARGET:-native}
|
||||
PROFILE: ${RETH_BUILD_PROFILE:-maxperf}
|
||||
|
||||
@@ -49,7 +49,7 @@ services:
|
||||
args:
|
||||
LLVM_IMAGE: ${LLVM_IMAGE:-snowstep/llvm}
|
||||
LLVM_VERSION: ${LLVM_VERSION:-20250912105042}
|
||||
RETH_VERSION: ${BSC_MAINNET_RETH_VERSION:-v0.0.6-beta}
|
||||
RETH_VERSION: ${BSC_MAINNET_RETH_VERSION:-v0.0.6.3}
|
||||
RETH_REPO: ${BSC_MAINNET_RETH_REPO:-https://github.com/bnb-chain/reth-bsc.git}
|
||||
ARCH_TARGET: ${ARCH_TARGET:-native}
|
||||
PROFILE: ${RETH_BUILD_PROFILE:-maxperf}
|
||||
|
||||
@@ -1755,6 +1755,21 @@
|
||||
"cosmos-mainnet-gaiad-pruned"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "mainnet",
|
||||
"client": "cronos",
|
||||
"compose_file": "cronos/cronos/cronos-mainnet-cronos-pruned",
|
||||
"features": [],
|
||||
"network": "cronos",
|
||||
"node": "config",
|
||||
"relay": null,
|
||||
"stack": null,
|
||||
"type": "pruned",
|
||||
"volumes": [
|
||||
"cronos-mainnet-cronos-pruned",
|
||||
"cronos-mainnet-cronos-pruned_config"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "zkevm-mainnet",
|
||||
"client": "external-node",
|
||||
@@ -5010,7 +5025,7 @@
|
||||
"client": "geth",
|
||||
"compose_file": "op/geth/lisk-mainnet-op-geth-pruned-pebble-hash",
|
||||
"features": [
|
||||
"path",
|
||||
"hash",
|
||||
"pebble"
|
||||
],
|
||||
"network": "lisk",
|
||||
@@ -5027,7 +5042,7 @@
|
||||
"client": "geth",
|
||||
"compose_file": "op/geth/lisk-mainnet-op-geth-pruned-pebble-path",
|
||||
"features": [
|
||||
"path",
|
||||
"hash",
|
||||
"pebble"
|
||||
],
|
||||
"network": "lisk",
|
||||
@@ -6437,6 +6452,38 @@
|
||||
"ink-sepolia-op-reth-pruned-trace"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "mainnet",
|
||||
"client": "reth",
|
||||
"compose_file": "op/reth/katana-mainnet-op-reth-archive-trace",
|
||||
"features": [
|
||||
"trace"
|
||||
],
|
||||
"network": "katana",
|
||||
"node": "node",
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "archive",
|
||||
"volumes": [
|
||||
"katana-mainnet-op-reth-archive-trace"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "mainnet",
|
||||
"client": "reth",
|
||||
"compose_file": "op/reth/katana-mainnet-op-reth-pruned-trace",
|
||||
"features": [
|
||||
"trace"
|
||||
],
|
||||
"network": "katana",
|
||||
"node": "node",
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "pruned",
|
||||
"volumes": [
|
||||
"katana-mainnet-op-reth-pruned-trace"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "mainnet",
|
||||
"client": "reth",
|
||||
@@ -6808,6 +6855,22 @@
|
||||
"xlayer-testnet-op-reth-archive-trace"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "mainnet",
|
||||
"client": "reth",
|
||||
"compose_file": "op/reth/zora-mainnet-op-reth-pruned-trace",
|
||||
"features": [
|
||||
"trace"
|
||||
],
|
||||
"network": "zora",
|
||||
"node": "node",
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "pruned",
|
||||
"volumes": [
|
||||
"zora-mainnet-op-reth-pruned-trace"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "amoy",
|
||||
"client": "bor",
|
||||
@@ -7314,7 +7377,8 @@
|
||||
"stack": null,
|
||||
"type": "archive",
|
||||
"volumes": [
|
||||
"shibarium-mainnet-bor-archive-pebble-path"
|
||||
"shibarium-mainnet-bor-archive-pebble-path",
|
||||
"shibarium-mainnet-heimdall"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -7331,7 +7395,8 @@
|
||||
"stack": null,
|
||||
"type": "pruned",
|
||||
"volumes": [
|
||||
"shibarium-mainnet-bor-pruned-pebble-path"
|
||||
"shibarium-mainnet-bor-pruned-pebble-path",
|
||||
"shibarium-mainnet-heimdall"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -70,7 +70,7 @@ services:
|
||||
- --maxpeers=50
|
||||
- --nat=extip:${IP}
|
||||
- --port=12384
|
||||
- --rpc.gascap=0
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.txfeecap=0
|
||||
- --state.scheme=path
|
||||
- --syncmode=snap
|
||||
|
||||
@@ -70,7 +70,7 @@ services:
|
||||
- --maxpeers=50
|
||||
- --nat=extip:${IP}
|
||||
- --port=14234
|
||||
- --rpc.gascap=0
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.txfeecap=0
|
||||
- --state.scheme=hash
|
||||
- --syncmode=full
|
||||
|
||||
@@ -70,7 +70,7 @@ services:
|
||||
- --maxpeers=50
|
||||
- --nat=extip:${IP}
|
||||
- --port=11169
|
||||
- --rpc.gascap=0
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.txfeecap=0
|
||||
- --state.scheme=hash
|
||||
- --syncmode=full
|
||||
|
||||
@@ -70,7 +70,7 @@ services:
|
||||
- --nat=extip:${IP}
|
||||
- --pigeon
|
||||
- --port=14478
|
||||
- --rpc.gascap=0
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.txfeecap=0
|
||||
- --state.scheme=path
|
||||
- --syncmode=snap
|
||||
|
||||
@@ -33,7 +33,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
cronos-zkevm-mainnet-archive:
|
||||
image: ${CRONOS_ZKEVM_EXTERNAL_NODE_IMAGE:-ghcr.io/cronos-labs/external-node}:${CRONOS_ZKEVM_MAINNET_EXTERNAL_NODE_VERSION:-v29.17.0}
|
||||
image: ${CRONOS_ZKEVM_EXTERNAL_NODE_IMAGE:-ghcr.io/cronos-labs/external-node}:${CRONOS_ZKEVM_MAINNET_EXTERNAL_NODE_VERSION:-v31.0.0}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -33,7 +33,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
cronos-zkevm-mainnet:
|
||||
image: ${CRONOS_ZKEVM_EXTERNAL_NODE_IMAGE:-ghcr.io/cronos-labs/external-node}:${CRONOS_ZKEVM_MAINNET_EXTERNAL_NODE_VERSION:-v29.17.0}
|
||||
image: ${CRONOS_ZKEVM_EXTERNAL_NODE_IMAGE:-ghcr.io/cronos-labs/external-node}:${CRONOS_ZKEVM_MAINNET_EXTERNAL_NODE_VERSION:-v31.0.0}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -33,7 +33,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
cronos-zkevm-testnet-archive:
|
||||
image: ${CRONOS_ZKEVM_EXTERNAL_NODE_IMAGE:-ghcr.io/cronos-labs/external-node}:${CRONOS_ZKEVM_TESTNET_EXTERNAL_NODE_VERSION:-v29.17.0}
|
||||
image: ${CRONOS_ZKEVM_EXTERNAL_NODE_IMAGE:-ghcr.io/cronos-labs/external-node}:${CRONOS_ZKEVM_TESTNET_EXTERNAL_NODE_VERSION:-v31.0.0}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -33,7 +33,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
cronos-zkevm-testnet:
|
||||
image: ${CRONOS_ZKEVM_EXTERNAL_NODE_IMAGE:-ghcr.io/cronos-labs/external-node}:${CRONOS_ZKEVM_TESTNET_EXTERNAL_NODE_VERSION:-v29.17.0}
|
||||
image: ${CRONOS_ZKEVM_EXTERNAL_NODE_IMAGE:-ghcr.io/cronos-labs/external-node}:${CRONOS_ZKEVM_TESTNET_EXTERNAL_NODE_VERSION:-v31.0.0}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
11
cronos/cometbft.Dockerfile
Normal file
11
cronos/cometbft.Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
ARG CRONOS_CRONOS_IMAGE
|
||||
ARG CRONOS_CRONOS_VERSION
|
||||
FROM ${CRONOS_CRONOS_IMAGE}:${CRONOS_CRONOS_VERSION}
|
||||
# Layer the shared CometBFT bootstrap lib + the chain init.sh onto the upstream
|
||||
# cronos binary image (alpine-based, has sh+apk; runs nonroot by default — the compose
|
||||
# sets user: root so init.sh can apk-add curl and write the /root home).
|
||||
USER root
|
||||
COPY ./scripts/cometbft-common.sh /usr/local/bin/cometbft-common.sh
|
||||
COPY ./scripts/init.sh /usr/local/bin/init.sh
|
||||
RUN chmod +x /usr/local/bin/init.sh /usr/local/bin/cometbft-common.sh
|
||||
ENTRYPOINT ["init.sh"]
|
||||
125
cronos/cronos/cronos-mainnet-cronos-pruned.yml
Normal file
125
cronos/cronos/cronos-mainnet-cronos-pruned.yml
Normal file
@@ -0,0 +1,125 @@
|
||||
---
|
||||
x-logging-defaults: &logging-defaults
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
|
||||
# Usage:
|
||||
#
|
||||
# mkdir rpc && cd rpc
|
||||
#
|
||||
# git init
|
||||
# git remote add origin https://github.com/StakeSquid/ethereum-rpc-docker.git
|
||||
# git fetch origin vibe
|
||||
# git checkout origin/vibe
|
||||
#
|
||||
# docker run --rm alpine sh -c "printf '0x'; head -c32 /dev/urandom | xxd -p -c 64" > .jwtsecret
|
||||
#
|
||||
# env
|
||||
# ...
|
||||
# IP=$(curl ipinfo.io/ip)
|
||||
# DOMAIN=${IP}.traefik.me
|
||||
# COMPOSE_FILE=base.yml:rpc.yml:cronos/cronos/cronos-mainnet-cronos-pruned.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/cronos-mainnet \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
cronos-mainnet:
|
||||
build:
|
||||
context: ./cronos
|
||||
dockerfile: cometbft.Dockerfile
|
||||
args:
|
||||
CRONOS_CRONOS_VERSION: ${CRONOS_MAINNET_CRONOS_VERSION:-v1.7.7}
|
||||
CRONOS_CRONOS_IMAGE: ${CRONOS_MAINNET_CRONOS_IMAGE:-ghcr.io/crypto-org-chain/cronos}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
|
||||
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
|
||||
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
|
||||
net.core.somaxconn: 32768 # Higher connection queue
|
||||
# Memory/Connection Management
|
||||
# net.core.netdev_max_backlog: 50000 # Increase network buffer
|
||||
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
|
||||
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
|
||||
ulimits:
|
||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||
user: root
|
||||
ports:
|
||||
- 10521:10521
|
||||
- 10521:10521/udp
|
||||
expose:
|
||||
- 8545
|
||||
- 8546
|
||||
- 6066
|
||||
- 26657
|
||||
environment:
|
||||
- API=eth,txpool,net,debug,web3
|
||||
- CHAINID=cronosmainnet_25-1
|
||||
- CHAINNAME=mainnet
|
||||
- IP=${IP}
|
||||
- MONIKER=d${DOMAIN:-local}
|
||||
- P2P_PORT=10521
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${CRONOS_MAINNET_CRONOS_PRUNED_DATA:-cronos-mainnet-cronos-pruned}:/root/.cronos/data
|
||||
- /slowdisk:/slowdisk
|
||||
- cronos-mainnet-cronos-pruned_config:/root/.cronos/config
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=6066
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.cronos-mainnet-cronos-pruned-stripprefix.stripprefix.prefixes=/cronos-mainnet
|
||||
- traefik.http.services.cronos-mainnet-cronos-pruned.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.cronos-mainnet-cronos-pruned.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.cronos-mainnet-cronos-pruned.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.cronos-mainnet-cronos-pruned.rule=Host(`$DOMAIN`) && (Path(`/cronos-mainnet`) || Path(`/cronos-mainnet/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.cronos-mainnet-cronos-pruned.rule=Path(`/cronos-mainnet`) || Path(`/cronos-mainnet/`)}
|
||||
- traefik.http.routers.cronos-mainnet-cronos-pruned.middlewares=cronos-mainnet-cronos-pruned-stripprefix, ipallowlist
|
||||
- traefik.http.routers.cronos-mainnet-cronos-pruned.priority=50 # gets any request that is not GET with UPGRADE header
|
||||
- traefik.http.routers.cronos-mainnet-cronos-pruned-ws.priority=100 # answers GET requests first
|
||||
- traefik.http.services.cronos-mainnet-cronos-pruned-ws.loadbalancer.server.port=8546
|
||||
- traefik.http.routers.cronos-mainnet-cronos-pruned-ws.service=cronos-mainnet-cronos-pruned-ws
|
||||
- traefik.http.routers.cronos-mainnet-cronos-pruned.service=cronos-mainnet-cronos-pruned
|
||||
- ${NO_SSL:-traefik.http.routers.cronos-mainnet-cronos-pruned-ws.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.cronos-mainnet-cronos-pruned-ws.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.cronos-mainnet-cronos-pruned-ws.rule=Host(`$DOMAIN`) && (Path(`/cronos-mainnet`) || Path(`/cronos-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||
- ${NO_SSL:+traefik.http.routers.cronos-mainnet-cronos-pruned-ws.rule=(Path(`/cronos-mainnet`) || Path(`/cronos-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||
- traefik.http.routers.cronos-mainnet-cronos-pruned-ws.middlewares=cronos-mainnet-cronos-pruned-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
cronos-mainnet-cronos-pruned:
|
||||
cronos-mainnet-cronos-pruned_config:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
labels:
|
||||
provider: $${PROVIDER}
|
||||
connection:
|
||||
generic:
|
||||
rpc:
|
||||
url: $${RPC_URL}
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: cronos
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- filter
|
||||
methods:
|
||||
disabled:
|
||||
enabled:
|
||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||
...
|
||||
223
cronos/scripts/cometbft-common.sh
Normal file
223
cronos/scripts/cometbft-common.sh
Normal file
@@ -0,0 +1,223 @@
|
||||
#!/bin/sh
|
||||
# cometbft-common.sh — reusable CometBFT-node bootstrap helpers (family C).
|
||||
#
|
||||
# Source this from a chain-specific init.sh. It encapsulates the operations every
|
||||
# CometBFT-consensus node needs (init, fetch config artifacts, patch config.toml /
|
||||
# app.toml, seed priv_validator_state), extracted verbatim from the proven berachain
|
||||
# beacon-kit entrypoint so callers inherit known-good behavior.
|
||||
#
|
||||
# Each function takes explicit arguments (paths/values) — it is binary-agnostic. The
|
||||
# caller owns the binary name, the `<binary> init` invocation, the artifact URLs, and
|
||||
# the final `exec <binary> start ...`. EL-driven chains (beacon-kit, morph) also call
|
||||
# the JWT / engine-dial helpers; pure-consensus chains (gaiad) skip them.
|
||||
#
|
||||
# Conventions: POSIX sh (alpine). Config dir is conventionally $HOME_DIR/config.
|
||||
# Used by: morph-node, gaiad (cosmos batch), and any future family-C chain.
|
||||
# beacon-kit (berachain) keeps its own bespoke init.sh on purpose — do not retrofit it.
|
||||
|
||||
set -e
|
||||
|
||||
ct_log() { echo "[cometbft-init] $*"; }
|
||||
|
||||
# Ensure curl exists (alpine base images often omit it). Idempotent.
|
||||
ct_require_curl() {
|
||||
if ! command -v curl >/dev/null 2>&1; then
|
||||
ct_log "installing curl"
|
||||
apk add --no-cache curl
|
||||
fi
|
||||
}
|
||||
|
||||
# ct_fetch URL DEST [required]
|
||||
# Download URL -> DEST. If the 3rd arg is "required", a failure is fatal;
|
||||
# otherwise a missing/failed fetch is logged and skipped (returns 0).
|
||||
ct_fetch() {
|
||||
_url="$1"; _dest="$2"; _req="${3:-optional}"
|
||||
[ -n "$_url" ] || { [ "$_req" = required ] && { ct_log "FATAL: empty URL for $_dest"; exit 1; }; return 0; }
|
||||
if curl -fsSL "$_url" -o "$_dest"; then
|
||||
ct_log "fetched $_url -> $_dest"
|
||||
else
|
||||
if [ "$_req" = required ]; then
|
||||
ct_log "FATAL: failed to fetch required $_url"; exit 1
|
||||
fi
|
||||
ct_log "skip: could not fetch optional $_url"
|
||||
fi
|
||||
}
|
||||
|
||||
# ct_patch_p2p CONFIG_TOML IP P2P_PORT
|
||||
# Bind p2p to 0.0.0.0:PORT and advertise IP:PORT (only within the [p2p] section).
|
||||
ct_patch_p2p() {
|
||||
_cfg="$1"; _ip="$2"; _port="$3"
|
||||
[ -f "$_cfg" ] || { ct_log "patch_p2p: $_cfg missing, skipping"; return 0; }
|
||||
_laddr="tcp:\\/\\/0\\.0\\.0\\.0\\:${_port}"
|
||||
sed -i "/^\[p2p\]/,/^\[/{s|^laddr = .*|laddr = \"$_laddr\"|}" "$_cfg"
|
||||
sed -i "/^\[p2p\]/,/^\[/{s|^external_address = .*|external_address = \"${_ip}:${_port}\"|}" "$_cfg"
|
||||
}
|
||||
|
||||
# ct_merge_seeds CONFIG_TOML CONFIGURED_SEEDS [SEEDS_URL]
|
||||
# Merge operator-configured seeds with an optional official seed list (1 entry per
|
||||
# line, first line skipped like the berachain cl-seeds.txt header), dedupe, write.
|
||||
ct_merge_seeds() {
|
||||
_cfg="$1"; _seeds="$2"; _url="$3"
|
||||
[ -f "$_cfg" ] || return 0
|
||||
if [ -n "$_url" ]; then
|
||||
_official=$(curl -f -s "$_url" | tail -n +2 | tr '\n' ',' | sed 's/,$//' || true)
|
||||
if [ -n "$_official" ]; then
|
||||
ct_log "merging official seeds from $_url"
|
||||
_seeds=$(echo "${_seeds},${_official}" | tr ',' '\n' | sed '/^$/d' | sort -u | paste -sd,)
|
||||
else
|
||||
ct_log "no official seeds fetched from $_url (continuing with configured)"
|
||||
fi
|
||||
fi
|
||||
if [ -n "$_seeds" ]; then
|
||||
sed -i "s/^seeds = \".*\"/seeds = \"${_seeds}\"/" "$_cfg"
|
||||
fi
|
||||
}
|
||||
|
||||
# ct_set_persistent_peers CONFIG_TOML PEERS
|
||||
# Handles both cometbft-classic `persistent_peers` (underscore) and forks that use
|
||||
# `persistent-peers` (hyphen, e.g. sei) — patches whichever key is present.
|
||||
ct_set_persistent_peers() {
|
||||
_cfg="$1"; _peers="$2"
|
||||
[ -f "$_cfg" ] || return 0
|
||||
[ -n "$_peers" ] || return 0
|
||||
sed -i "s/^persistent_peers = \".*\"/persistent_peers = \"${_peers}\"/" "$_cfg"
|
||||
sed -i "s/^persistent-peers = \".*\"/persistent-peers = \"${_peers}\"/" "$_cfg"
|
||||
return 0
|
||||
}
|
||||
|
||||
# ct_set_moniker CONFIG_TOML MONIKER
|
||||
ct_set_moniker() {
|
||||
_cfg="$1"; _mon="$2"
|
||||
[ -f "$_cfg" ] || return 0
|
||||
[ -n "$_mon" ] && sed -i "s/^moniker = \".*\"/moniker = \"$_mon\"/" "$_cfg"
|
||||
return 0
|
||||
}
|
||||
|
||||
# ct_set_addrbook CONFIG_DIR ADDRBOOK_URL
|
||||
# Optional: cosmos chains often seed an addrbook.json for faster peer discovery.
|
||||
ct_set_addrbook() {
|
||||
_dir="$1"; _url="$2"
|
||||
[ -n "$_url" ] || return 0
|
||||
ct_fetch "$_url" "$_dir/addrbook.json" optional
|
||||
}
|
||||
|
||||
# ct_write_jwt CONFIG_DIR [JWT_SRC]
|
||||
# EL-driven chains: copy the shared engine JWT (default /jwtsecret) into the config
|
||||
# dir as jwt.hex so the CL can authenticate to the EL engine API.
|
||||
ct_write_jwt() {
|
||||
_dir="$1"; _src="${2:-/jwtsecret}"
|
||||
[ -f "$_src" ] || { ct_log "write_jwt: $_src missing, skipping"; return 0; }
|
||||
cat "$_src" > "$_dir/jwt.hex"
|
||||
}
|
||||
|
||||
# ct_set_rpc_dial_url APP_TOML AUTH_RPC
|
||||
# beacon-kit / app.toml-style EL engine endpoint (e.g. http://<el>:8551).
|
||||
ct_set_rpc_dial_url() {
|
||||
_app="$1"; _rpc="$2"
|
||||
[ -f "$_app" ] || return 0
|
||||
[ -n "$_rpc" ] && sed -i "s|^rpc-dial-url = \".*\"|rpc-dial-url = \"$_rpc\"|" "$_app"
|
||||
return 0
|
||||
}
|
||||
|
||||
# ct_seed_priv_validator_state HOME_DIR
|
||||
# Ensure data/priv_validator_state.json exists (cometbft refuses to start without it
|
||||
# when one is present in config/). Mirrors the berachain init.sh behavior.
|
||||
ct_seed_priv_validator_state() {
|
||||
_home="$1"
|
||||
if [ -e "$_home/config/priv_validator_state.json" ] && [ ! -e "$_home/data/priv_validator_state.json" ]; then
|
||||
mkdir -p "$_home/data"
|
||||
cp "$_home/config/priv_validator_state.json" "$_home/data/priv_validator_state.json"
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
# ct_apk PKG...
|
||||
# Install alpine packages idempotently (most cosmos init scripts need curl, some jq).
|
||||
ct_apk() {
|
||||
apk add --no-cache "$@"
|
||||
}
|
||||
|
||||
# ct_localize_home CONFIG_DIR
|
||||
# Rewrite `~/` to `/root/` in config.toml + app.toml. Cosmos `init` writes home-relative
|
||||
# paths; the container runs as root with a static home, so make paths absolute.
|
||||
ct_localize_home() {
|
||||
_dir="$1"
|
||||
[ -f "$_dir/config.toml" ] && sed -i 's|~/|/root/|g' "$_dir/config.toml"
|
||||
[ -f "$_dir/app.toml" ] && sed -i 's|~/|/root/|g' "$_dir/app.toml"
|
||||
return 0
|
||||
}
|
||||
|
||||
# ct_set_min_gas_prices APP_TOML PRICE
|
||||
# Cosmos chains reject txs (and sometimes refuse to start) with an empty
|
||||
# minimum-gas-prices. PRICE e.g. "0.01usei", "0.0025uatom", "0.01hqq".
|
||||
ct_set_min_gas_prices() {
|
||||
_app="$1"; _price="$2"
|
||||
[ -f "$_app" ] || return 0
|
||||
[ -n "$_price" ] || return 0
|
||||
sed -i "s/minimum-gas-prices = \"\"/minimum-gas-prices = \"${_price}\"/g" "$_app"
|
||||
return 0
|
||||
}
|
||||
|
||||
# ct_configure_statesync CONFIG_TOML RPC_SERVERS [TRUST_OFFSET]
|
||||
# Enable cometbft state-sync so a fresh node bootstraps near chainhead instead of
|
||||
# replaying from genesis — the single biggest lever for "can't keep it at chainhead"
|
||||
# chains. RPC_SERVERS = comma list of trusted RPC endpoints (>=2 recommended; a single
|
||||
# endpoint is duplicated). TRUST_OFFSET = blocks below head to trust (default 2000).
|
||||
# Requires jq + curl. No-op (logged) if head height can't be fetched.
|
||||
ct_configure_statesync() {
|
||||
_cfg="$1"; _rpc="$2"; _offset="${3:-2000}"
|
||||
[ -f "$_cfg" ] || return 0
|
||||
# NEVER re-arm statesync on a node that already has application state (a restored
|
||||
# snapshot or a prior sync). Re-statesyncing over it leaves a broken/partial datadir and,
|
||||
# for wasm chains, drops the wasm files -> startup panic. _cfg is $HOME/config/config.toml,
|
||||
# so application state lives at $HOME/data/application.db.
|
||||
_home=$(dirname "$(dirname "$_cfg")")
|
||||
if [ -e "$_home/data/application.db" ]; then
|
||||
ct_log "statesync: existing data dir, skipping"
|
||||
return 0
|
||||
fi
|
||||
[ -n "$_rpc" ] || { ct_log "statesync: no RPC servers given, skipping"; return 0; }
|
||||
_primary=$(echo "$_rpc" | cut -d, -f1)
|
||||
_latest=$(curl -s "$_primary/block" | jq -r '.result.block.header.height // .block.header.height' 2>/dev/null || true)
|
||||
if [ -z "$_latest" ] || [ "$_latest" = null ]; then
|
||||
ct_log "statesync: could not read head height from $_primary, skipping"; return 0
|
||||
fi
|
||||
_trust_h=$((_latest - _offset))
|
||||
_trust_hash=$(curl -s "$_primary/block?height=$_trust_h" | jq -r '.result.block_id.hash // .block_id.hash' 2>/dev/null || true)
|
||||
[ -n "$_trust_hash" ] && [ "$_trust_hash" != null ] || { ct_log "statesync: no trust hash, skipping"; return 0; }
|
||||
# second server defaults to the first (cometbft wants >=2 for light-client cross-check)
|
||||
echo "$_rpc" | grep -q ',' || _rpc="$_rpc,$_rpc"
|
||||
ct_log "statesync: enable trust_height=$_trust_h trust_hash=$_trust_hash"
|
||||
# Patch ONLY the [statesync] section. CometBFT config.toml uses underscore keys
|
||||
# (rpc_servers/trust_height/trust_hash); tolerate hyphen variants with [_-].
|
||||
sed -i.bak -E "/^\[statesync\]/,/^\[/{
|
||||
s|^([[:space:]]*enable[[:space:]]*=[[:space:]]*).*|\1true|
|
||||
s|^([[:space:]]*rpc[_-]servers[[:space:]]*=[[:space:]]*).*|\1\"$_rpc\"|
|
||||
s|^([[:space:]]*trust[_-]height[[:space:]]*=[[:space:]]*).*|\1$_trust_h|
|
||||
s|^([[:space:]]*trust[_-]hash[[:space:]]*=[[:space:]]*).*|\1\"$_trust_hash\"|
|
||||
}" "$_cfg"
|
||||
return 0
|
||||
}
|
||||
|
||||
# ct_ensure_wasm HOME_DIR WASM_SNAPSHOT_URL
|
||||
# CosmWasm + IBC 08-wasm bytecode are FILES on disk that state-sync does NOT restore, so
|
||||
# a state-synced wasm chain panics at startup ("wasmlckeeper failed initialize pinned codes
|
||||
# / Error opening Wasm file"). Seed them from a wasm-only snapshot (e.g. polkachu
|
||||
# cosmos_wasmonly.tar.lz4) when the wasm dir is missing/empty. No-op if URL unset or wasm
|
||||
# already present. Best-effort (logs on failure); the fully robust path for wasm chains is a
|
||||
# FULL snapshot restore. Requires lz4 + tar (installed here).
|
||||
ct_ensure_wasm() {
|
||||
_home="$1"; _url="$2"
|
||||
[ -n "$_url" ] || return 0
|
||||
if [ -d "$_home/wasm" ] && [ -n "$(ls -A "$_home/wasm" 2>/dev/null)" ]; then
|
||||
return 0 # wasm already present
|
||||
fi
|
||||
ct_log "wasm: empty, fetching snapshot $_url"
|
||||
ct_apk lz4 tar
|
||||
if curl -sL "$_url" | lz4 -dc | tar -xf - -C "$_home"; then
|
||||
ct_log "wasm: extracted into $_home"
|
||||
else
|
||||
ct_log "WARN wasm: fetch/extract failed ($_url)"
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
69
cronos/scripts/init.sh
Normal file
69
cronos/scripts/init.sh
Normal file
@@ -0,0 +1,69 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e # Exit on failure
|
||||
|
||||
echo "MONIKER: $MONIKER"
|
||||
|
||||
CHAINID=${CHAINID:-cronosmainnet_25-1}
|
||||
CHAINNAME=${CHAINNAME:-mainnet}
|
||||
API=${API:-eth,txpool,net,debug,web3}
|
||||
|
||||
CONFIG_DIR="/root/.cronos/config"
|
||||
|
||||
# Create config directory
|
||||
mkdir -p "$CONFIG_DIR"
|
||||
|
||||
P2P_STRING="tcp:\/\/0\.0\.0\.0\:${P2P_PORT:-10521}"
|
||||
NAT_STRING="${IP}:${P2P_PORT:-10521}"
|
||||
|
||||
env
|
||||
|
||||
# this goes first because it won't overwrite shit
|
||||
apk add curl jq
|
||||
if [ $? -ne 0 ]; then exit 1; fi
|
||||
|
||||
# Source the shared CometBFT helpers
|
||||
. /usr/local/bin/cometbft-common.sh
|
||||
|
||||
if cronosd init ${MONIKER} --chain-id ${CHAINID} --home /root/.cronos/; then
|
||||
# Define variables
|
||||
GENESIS_URL="https://raw.githubusercontent.com/crypto-org-chain/cronos-mainnet/master/cronosmainnet_25-1/genesis.json"
|
||||
SEEDS="0d5cf1394a1cfde28dc8f023567222abc0f47534@cronos-seed-0.crypto.org:26656,3032073adc06d710dd512240281637c1bd0c8a7b@cronos-seed-1.crypto.org:26656,04f43116b4c6c70054d9c2b7485383df5b1ed1da@cronos-seed-2.crypto.org:26656"
|
||||
|
||||
# Download config files
|
||||
curl -sL "$GENESIS_URL" -o "$CONFIG_DIR/genesis.json"
|
||||
|
||||
# somehow it's better to make home static to /root
|
||||
sed -i 's|~/|/root/|g' "$CONFIG_DIR/config.toml"
|
||||
sed -i 's|~/|/root/|g' "$CONFIG_DIR/app.toml"
|
||||
else
|
||||
echo "Already initialized, continuing!" >&2
|
||||
fi
|
||||
|
||||
# Localize home directory paths
|
||||
ct_localize_home /root/.cronos/config
|
||||
|
||||
# apply a port change to the config
|
||||
ct_patch_p2p "$CONFIG_DIR/config.toml" "$IP" "${P2P_PORT:-10521}"
|
||||
|
||||
sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $CONFIG_DIR/app.toml
|
||||
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $CONFIG_DIR/app.toml
|
||||
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"19\"/" $CONFIG_DIR/app.toml
|
||||
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $CONFIG_DIR/config.toml
|
||||
|
||||
sed -i "/^\[json-rpc\]/,/^\[/{s|^address = .*|address = \"0.0.0.0:8545\"|}" "$CONFIG_DIR/app.toml"
|
||||
sed -i "/^\[json-rpc\]/,/^\[/{s|^ws-address = .*|ws-address = \"0.0.0.0:8546\"|}" "$CONFIG_DIR/app.toml"
|
||||
sed -i "/^\[json-rpc\]/,/^\[/{s|^api = .*|api = \"$API\"|}" "$CONFIG_DIR/app.toml"
|
||||
|
||||
# Set seeds
|
||||
ct_set_persistent_peers "$CONFIG_DIR/config.toml" "$SEEDS"
|
||||
|
||||
# Configure state sync using official RPC endpoints
|
||||
ct_configure_statesync "$CONFIG_DIR/config.toml" "https://rpc-cronos.crypto.org:443,https://cronos-rpc.publicnode.com:443" 2000
|
||||
|
||||
# Update moniker if set
|
||||
if [ -n "$MONIKER" ] && [ -f "$CONFIG_DIR/config.toml" ]; then
|
||||
ct_set_moniker "$CONFIG_DIR/config.toml" "$MONIKER"
|
||||
fi
|
||||
|
||||
exec cronosd start --chain-id ${CHAINID} $@
|
||||
@@ -1,6 +1,6 @@
|
||||
# syntax = docker/dockerfile:1.2
|
||||
ARG REPO=https://github.com/erigontech/erigon.git
|
||||
ARG VERSION=v3.0.7
|
||||
ARG VERSION=v3.4.4
|
||||
ARG COMMIT=${COMMIT:-${VERSION}}
|
||||
|
||||
FROM docker.io/library/golang:1.24.1-alpine3.20 AS builder
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
ethereum-hoodi-erigon3-archive:
|
||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOODI_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOODI_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
ethereum-hoodi-erigon3-minimal:
|
||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOODI_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOODI_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
ethereum-hoodi-erigon3:
|
||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOODI_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOODI_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
ethereum-mainnet-erigon3-archive:
|
||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
ethereum-mainnet-erigon3-minimal:
|
||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
ethereum-mainnet-erigon3:
|
||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
ethereum-sepolia-erigon3-archive:
|
||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
ethereum-sepolia-erigon3-minimal:
|
||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
ethereum-sepolia-erigon3:
|
||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
gnosis-chiado-erigon3-archive:
|
||||
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_CHIADO_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_CHIADO_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
gnosis-chiado-erigon3-minimal:
|
||||
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_CHIADO_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_CHIADO_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
gnosis-chiado-erigon3:
|
||||
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_CHIADO_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_CHIADO_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
gnosis-mainnet-erigon3-archive:
|
||||
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_MAINNET_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_MAINNET_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
gnosis-mainnet-erigon3-minimal:
|
||||
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_MAINNET_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_MAINNET_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
gnosis-mainnet-erigon3:
|
||||
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_MAINNET_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_MAINNET_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
lens-mainnet-archive:
|
||||
image: ${LENS_EXTERNAL_NODE_IMAGE:-matterlabs/external-node}:${LENS_MAINNET_EXTERNAL_NODE_VERSION:-v29.17.0}
|
||||
image: ${LENS_EXTERNAL_NODE_IMAGE:-matterlabs/external-node}:${LENS_MAINNET_EXTERNAL_NODE_VERSION:-v31.0.0}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
lens-mainnet:
|
||||
image: ${LENS_EXTERNAL_NODE_IMAGE:-matterlabs/external-node}:${LENS_MAINNET_EXTERNAL_NODE_VERSION:-v29.17.0}
|
||||
image: ${LENS_EXTERNAL_NODE_IMAGE:-matterlabs/external-node}:${LENS_MAINNET_EXTERNAL_NODE_VERSION:-v31.0.0}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
lens-testnet-archive:
|
||||
image: ${LENS_EXTERNAL_NODE_IMAGE:-matterlabs/external-node}:${LENS_TESTNET_EXTERNAL_NODE_VERSION:-v29.17.0}
|
||||
image: ${LENS_EXTERNAL_NODE_IMAGE:-matterlabs/external-node}:${LENS_TESTNET_EXTERNAL_NODE_VERSION:-v31.0.0}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
lens-testnet:
|
||||
image: ${LENS_EXTERNAL_NODE_IMAGE:-matterlabs/external-node}:${LENS_TESTNET_EXTERNAL_NODE_VERSION:-v29.17.0}
|
||||
image: ${LENS_EXTERNAL_NODE_IMAGE:-matterlabs/external-node}:${LENS_TESTNET_EXTERNAL_NODE_VERSION:-v31.0.0}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
linea-mainnet-erigon3-archive:
|
||||
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_MAINNET_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_MAINNET_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
linea-mainnet-erigon3-minimal:
|
||||
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_MAINNET_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_MAINNET_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
linea-mainnet-erigon3:
|
||||
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_MAINNET_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_MAINNET_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
linea-sepolia-erigon3-archive:
|
||||
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_SEPOLIA_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_SEPOLIA_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
linea-sepolia-erigon3-minimal:
|
||||
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_SEPOLIA_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_SEPOLIA_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
linea-sepolia-erigon3:
|
||||
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_SEPOLIA_ERIGON3_VERSION:-v3.4.2}
|
||||
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_SEPOLIA_ERIGON3_VERSION:-v3.4.4}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -108,8 +108,8 @@ services:
|
||||
command:
|
||||
- |
|
||||
mkdir -p /db/config /db/data
|
||||
cp -n /seed/config.toml /db/config/config.toml
|
||||
cp -n /seed/genesis.json /db/config/genesis.json
|
||||
cp /seed/config.toml /db/config/config.toml
|
||||
cp /seed/genesis.json /db/config/genesis.json
|
||||
[ -f /db/data/priv_validator_state.json ] || echo '{"height":"0","round":0,"step":0}' > /db/data/priv_validator_state.json
|
||||
restart: no
|
||||
networks:
|
||||
@@ -122,8 +122,8 @@ services:
|
||||
morph-mainnet-archive-node:
|
||||
image: ${MORPH_MORPH_IMAGE:-ghcr.io/morph-l2/node}:${MORPH_MAINNET_MORPH_VERSION:-0.5.7}
|
||||
ports:
|
||||
- 26656:26656
|
||||
- 26656:26656/udp
|
||||
- 16860:26656
|
||||
- 16860:26656/udp
|
||||
expose:
|
||||
- 26657
|
||||
- 26658
|
||||
|
||||
@@ -129,7 +129,7 @@ services:
|
||||
- BASE_NODE_P2P_LISTEN_UDP_PORT=18092
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -128,7 +128,7 @@ services:
|
||||
- BASE_NODE_P2P_LISTEN_UDP_PORT=18487
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -124,7 +124,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://bob-mainnet-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -121,7 +121,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://boba-mainnet-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -157,7 +157,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://hashkeychain-mainnet-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://ink-mainnet-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://ink-sepolia-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -123,7 +123,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://lisk-mainnet-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://metal-mainnet-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -121,7 +121,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://mode-mainnet-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://mode-sepolia-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -123,7 +123,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://op-mainnet-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://op-sepolia-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://soneium-mainnet-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://soneium-minato-sepolia-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://swell-mainnet-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://unichain-mainnet-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://unichain-sepolia-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://worldchain-mainnet-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://worldchain-sepolia-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -121,16 +121,16 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://zora-mainnet-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
- OP_NODE_METRICS_PORT=7300
|
||||
- OP_NODE_NETWORK=zora-mainnet
|
||||
- OP_NODE_P2P_ADVERTISE_IP=${IP}
|
||||
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||
- OP_NODE_P2P_LISTEN_TCP_PORT=19360
|
||||
- OP_NODE_P2P_LISTEN_UDP_PORT=19360
|
||||
- OP_NODE_ROLLUP_CONFIG=/config/rollup.json
|
||||
- OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true
|
||||
- OP_NODE_RPC_ADDR=0.0.0.0
|
||||
- OP_NODE_RPC_PORT=8545
|
||||
|
||||
@@ -121,7 +121,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://zora-sepolia-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -129,7 +129,7 @@ services:
|
||||
- BASE_NODE_P2P_LISTEN_UDP_PORT=18596
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -193,7 +193,7 @@ services:
|
||||
- BASE_NODE_P2P_LISTEN_UDP_PORT=16422
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -129,7 +129,7 @@ services:
|
||||
- BASE_NODE_P2P_LISTEN_UDP_PORT=16422
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -129,7 +129,7 @@ services:
|
||||
- BASE_NODE_P2P_LISTEN_UDP_PORT=15910
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -129,7 +129,7 @@ services:
|
||||
- BASE_NODE_P2P_LISTEN_UDP_PORT=17022
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC=http://blast-mainnet-archive:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC=http://blast-mainnet-archive:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC=http://blast-mainnet:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -119,7 +119,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC=http://blast-sepolia:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -119,7 +119,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC=http://bnb-mainnet-archive:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC=http://bnb-mainnet:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -119,7 +119,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC=http://bnb-testnet-archive:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC=http://bnb-testnet:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -124,7 +124,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC=http://bob-mainnet-archive:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -124,7 +124,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC=http://bob-mainnet-archive:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -124,7 +124,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC=http://bob-mainnet:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
@@ -124,7 +124,7 @@ services:
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC=http://bob-mainnet:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user