-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathexample.env
More file actions
107 lines (90 loc) · 5.17 KB
/
Copy pathexample.env
File metadata and controls
107 lines (90 loc) · 5.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# =============================================================================
# AVS Router Configuration
# =============================================================================
# =============================================================================
# Network Configuration
# =============================================================================
# For TESTNET mode (Sepolia)
HTTP_RPC=https://ethereum-sepolia-rpc.publicnode.com # change to private rpc
WS_RPC=wss://ethereum-sepolia-rpc.publicnode.com # change to private websocket
RPC_URL=https://ethereum-sepolia-rpc.publicnode.com # For Docker containers
# For LOCAL mode (uncomment these)
# HTTP_RPC=http://localhost:8545
# WS_RPC=ws://localhost:8545
# RPC_URL=http://ethereum:8545 # Docker internal network
# FORK_URL=https://ethereum-sepolia-rpc.publicnode.com # Fork from Sepolia for local testing
# =============================================================================
# AVS Service Manager Wrapper Configuration
# =============================================================================
# If your deployment tooling supports it, these values can be passed as immutable
# constructor parameters when deploying AvsServiceManagerWrapper and cannot be
# changed after deployment. (They are not consumed directly by the Rust services.)
#
# QUORUM_THRESHOLD / THRESHOLD_DENOMINATOR: fraction of total registered
# operator stake that must sign a task for it to be accepted. 2/3 means at
# least two-thirds of stake-weighted operators must co-sign.
#
# BLOCK_STALE_MEASURE: maximum age (in blocks) of a valid reference block.
# At ~12 s/block on Ethereum, 300 blocks ≈ 1 hour.
QUORUM_THRESHOLD=2
THRESHOLD_DENOMINATOR=3
BLOCK_STALE_MEASURE=300
# =============================================================================
# Environment Mode
# =============================================================================
ENVIRONMENT=LOCAL
# ENVIRONMENT=TESTNET
# =============================================================================
# EigenLayer Contract Addresses (Mainnet)
# =============================================================================
# DELEGATION_MANAGER_ADDRESS=0x39053D51B77DC0d36036Fc1fCc8Cb819df8Ef37A
# STRATEGY_MANAGER_ADDRESS=0x858646372CC42E1A627fcE94aa7A7033e7CF075A
# LST_CONTRACT_ADDRESS=0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84
# LST_STRATEGY_ADDRESS=0x93c4b944D05dfe6df7645A86cd2206016c51564D
# ALLOCATION_MANAGER_ADDRESS=0x948a420b8CC1d6BFd0B6087C2E7c344a2CD0bc39
# =============================================================================
# EigenLayer Contract Addresses (Sepolia Testnet)
# =============================================================================
# Uncomment for TESTNET mode, leave commented for LOCAL mode (will be auto-deployed)
# DELEGATION_MANAGER_ADDRESS=0xD4A7E1Bd8015057293f0D0A557088c286942e84b
# STRATEGY_MANAGER_ADDRESS=0x2E3D6c0744b10eb0A4e6F679F71554a39Ec47a5D
# LST_CONTRACT_ADDRESS=0x00c71b0fcadE911B2feeE9912DE4Fe19eB04ca56
# LST_STRATEGY_ADDRESS=0x8b29d91e67b013e855EaFe0ad704aC4Ab086a574
# ALLOCATION_MANAGER_ADDRESS=0x42583067658071247ec8CE0A516A58f682002d07
# =============================================================================
# Contract Deployment Configuration
# =============================================================================
AVS_DEPLOYMENT_PATH="config/.nodes/avs_deploy.json"
# =============================================================================
# Private Keys
# =============================================================================
PRIVATE_KEY=
FUNDED_KEY= # Required for TESTNET mode, should have testnet ETH
# =============================================================================
# Operator Configuration
# =============================================================================
TEST_ACCOUNTS=3
# =============================================================================
# Service Configuration
# =============================================================================
CERBERUS_GRPC_PORT=50051
CERBERUS_METRICS_PORT=9081
SIGNER_ENDPOINT=http://signer:50051
# =============================================================================
# Other Configuration
# =============================================================================
# How often (in milliseconds) to poll for a new round between task cycles.
POLLING_INTERVAL_MS=2000
# Max seconds the router waits for a certificate on an assigned height before broadcasting Skip (supports fractional).
ROUND_TIMEOUT=30
# How often (in seconds) the router re-broadcasts the current task directive; also the engine's own ack rebroadcast cadence.
REBROADCAST_INTERVAL=5
# Number of heights the aggregation engine works on concurrently above its tip.
AGG_WINDOW=8
# Number of heights the engine keeps tracking below its tip (ack collection + prune buffer).
AGG_ACTIVITY_TIMEOUT=256
# Per-peer messages/second quota for the engine ack channel (unset = computed from AGG_ACTIVITY_TIMEOUT / REBROADCAST_INTERVAL with headroom).
# P2P_ACK_MESSAGES_PER_SECOND=110
# Stable directory for the aggregation engine's journal (must persist across restarts;
# docker-compose sets this per service — unset falls back to /app/data or a temp dir).
# STORAGE_DIR=/app/data