-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathexample.env
More file actions
166 lines (135 loc) · 6.44 KB
/
example.env
File metadata and controls
166 lines (135 loc) · 6.44 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# ==============================================================================
# OP Stack Configuration
# ==============================================================================
OP_STACK_LOCAL_DIRECTORY=
SKIP_OP_STACK_BUILD=true
OP_STACK_IMAGE_TAG=op-stack:latest
# ==============================================================================
# OP Contracts Configuration
# ==============================================================================
SKIP_OP_CONTRACTS_BUILD=true
OP_CONTRACTS_IMAGE_TAG=op-contracts:latest
# ==============================================================================
# OP Geth Configuration
# ==============================================================================
OP_GETH_LOCAL_DIRECTORY=
OP_GETH_BRANCH=
SKIP_OP_GETH_BUILD=true
OP_GETH_IMAGE_TAG=op-geth:latest
# ==============================================================================
# OP Reth Configuration
# ==============================================================================
OP_RETH_LOCAL_DIRECTORY=
OP_RETH_BRANCH=
SKIP_OP_RETH_BUILD=true
OP_RETH_IMAGE_TAG=op-reth:latest
# Profiling configuration for op-reth
RETH_PROFILING_ENABLED=false
JEMALLOC_PROFILING=false
# Enable inner transaction tracking (only applies when SEQ_TYPE=reth and/or RPC_TYPE=reth)
# Separate controls for sequencer and RPC nodes
ENABLE_INNERTX_SEQ=false
ENABLE_INNERTX_RPC=false
# ==============================================================================
# Build Configuration
# ==============================================================================
SKIP_BUILD_PRESTATE=false
# ==============================================================================
# Runtime Mode Configuration
# ==============================================================================
# MIN_RUN: Skip proposer/challenger/dispute monitor setup for minimal deployment
# When enabled (default), only essential services (sequencer, op-node, op-batcher, rpc) will run
# Set to false if you need full mode with op-proposer, op-challenger, op-dispute-mon
MIN_RUN=true
# ==============================================================================
# Fake Mainnet Configuration
# ==============================================================================
USE_FAKE_MAINNET=false
# ==============================================================================
# Docker & Network Configuration
# ==============================================================================
DOCKER_NETWORK=dev-op
CONFIG_DIR=config-op
# Only support `geth` or `reth`
SEQ_TYPE=geth
RPC_TYPE=geth
# ==============================================================================
# Chain Configuration
# ==============================================================================
CHAIN_ID=195
# ==============================================================================
# RPC URLs
# ==============================================================================
# Host URLs
L1_RPC_URL=http://localhost:8545
L2_RPC_URL=http://localhost:8124
# Docker internal URLs
L1_RPC_URL_IN_DOCKER=http://l1-geth:8545
L2_RPC_URL_IN_DOCKER=http://op-$SEQ_TYPE-seq:8545
L1_BEACON_URL_IN_DOCKER=http://l1-beacon-chain:3500
# ==============================================================================
# Private Keys
# ==============================================================================
RICH_L1_PRIVATE_KEY=0x4bbbf85ce3377467afe5d46f804f221813b2bb87f24d81f60f1fcdbf7cbf4356
DEPLOYER_PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
SEQUENCER_P2P_KEY=0x8b3a350cf5c34c9194ca85829a2df0ec3153be0318b5e2d3348e872092edffba
OP_BATCHER_PRIVATE_KEY=0x5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a
OP_PROPOSER_PRIVATE_KEY=0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d
OP_CHALLENGER_PRIVATE_KEY=0x8b3a350cf5c34c9194ca9aa3f146b2b9afed22cd83d3c5f6a3f2f243ce220c01
# ==============================================================================
# Contract Addresses
# ==============================================================================
DEPLOYER_ADDRESS=0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
PROPOSER_ADDRESS=0x70997970C51812dc3A010C7d01b50e0d17dc79C8
ADMIN_OWNER_ADDRESS=0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
SAFE_ADDRESS=0x0000000000000000000000000000000000000000
TRANSACTOR=0x0000000000000000000000000000000000000000
L2OO_ADDRESS=0x0000000000000000000000000000000000000000
DISPUTE_GAME_FACTORY_ADDRESS=0x9fb19f214e8ec1c84c25eb954183bdd6b8d5032e
OPCM_IMPL_ADDRESS=0xd5ea6d3f520eac42f989019a8d3c51a123e73113
SYSTEM_CONFIG_PROXY_ADDRESS=0x330cff9f99a75bc9c71750b5c60fdc0eff1789e1
PROXY_ADMIN=0x922d6956c99e12dfeb3224dea977d0939758a1fe
OPTIMISM_PORTAL_PROXY_ADDRESS=0xc8e8b7b181db301f27aef90ed285787a3ce179e9
# For testing, Adapter owner is the deployer
OKB_ADAPTER_OWNER_ADDRESS=0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
# OKB Token Address on L1. If not set, a new MockOKB will be deployed.
OKB_TOKEN_ADDRESS=
# ==============================================================================
# Game Configuration
# ==============================================================================
# First game only for update anchor root
TEMP_MAX_CLOCK_DURATION=40
TEMP_CLOCK_EXTENSION=5
TEMP_GAME_WINDOW=60
# Game config
MAX_CLOCK_DURATION=20
CLOCK_EXTENSION=10
GAME_WINDOW=60
# AnchorStateRegistry configure
DISPUTE_GAME_FINALITY_DELAY_SECONDS=5
# PreimageOracle configure
CHALLENGE_PERIOD_SECONDS=10
# WETH configure
WITHDRAWAL_DELAY_SECONDS=$MAX_CLOCK_DURATION
# ==============================================================================
# Fork Configuration
# ==============================================================================
# TODO: use real fork block and parent hash in xlayer erigon
FORK_BLOCK=8593920
PARENT_HASH="0x6912fea590fd46ca6a63ec02c6733f6ffb942b84cdf86f7894c21e1757a1f68a"
NEW_BLOCK_HASH=0xddb9bdc86631494bab4b4749c4575035e2383da7c96d32d31341de862b1dd6c9
# ==============================================================================
# Other Configuration
# ==============================================================================
DB_ENGINE="pebble"
CONDUCTOR_ENABLED=true
LAUNCH_RPC_NODE=true
# Trusted peers enode url configurations for the shared private sequencer txpool
TRUSTED_PEERS=
FLASHBLOCK_ENABLED=false
# L2 execution client and port passed to optimism services.
# If flashblock is enabled, we will override this variable
# to set the client to rollup-boost.
SEQ_L2_EXECUTION_CLIENT=op-${SEQ_TYPE}-seq
SEQ_L2_EXECUTION_PORT=8545
OWNER_TYPE=transactor # safe