-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathconfig.toml.example
More file actions
156 lines (146 loc) · 6.46 KB
/
config.toml.example
File metadata and controls
156 lines (146 loc) · 6.46 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
# ==============================================================================
# _ ____ ____ _ _____ _____
# / \ / ___|/ ___| |/ /_ _|_ _|
# / _ \| | _| | _| ' / | | | |
# / ___ \ |_| | |_| | . \ | | | |
# /_/ \_\____|\____|_|\_\___| |_|
#
# This is a reference config file used for Aggkit
# setup.
# The below configs are the default mandatory parameters to be used.
# ==============================================================================
L1URL = "https://xxxx/"
L2URL = "https://xxxx/"
# ------------------------------------------------------------------------------
# OP Node URL. To be used when deploying OP stack
# ------------------------------------------------------------------------------
OpNodeURL = "https://xxxx/"
AggLayerURL = "https://xxxx/"
# ------------------------------------------------------------------------------
# Aggkit Prover URL. To be used when FEP is enabled
# ------------------------------------------------------------------------------
AggchainProofURL = "https://xxxx/"
NetworkID = 1
SequencerPrivateKeyPath = "/path/to/keystore"
SequencerPrivateKeyPassword = "test"
# This values can be override directly from genesis.json
rollupCreationBlockNumber = 0
rollupManagerCreationBlockNumber = 0
genesisBlockNumber = 0
# Default database query timeout
[L1Config]
# ------------------------------------------------------------------------------
# URL is the L1 network url
# ------------------------------------------------------------------------------
URL = "{{L1URL}}"
# ------------------------------------------------------------------------------
# Address of the zkevm global exit root contract on L1
# ------------------------------------------------------------------------------
polygonZkEVMGlobalExitRootAddress = "0x0000000000000000000000000000000000000000"
# ------------------------------------------------------------------------------
# Address of the rollup manager contract on L1
# ------------------------------------------------------------------------------
polygonRollupManagerAddress = "0x0000000000000000000000000000000000000000"
# ------------------------------------------------------------------------------
# Address of the pol token address on L1
# ------------------------------------------------------------------------------
polTokenAddress = "0x0000000000000000000000000000000000000000"
# ------------------------------------------------------------------------------
# Address of the sovereign rollup contract on L1
# ------------------------------------------------------------------------------
polygonZkEVMAddress = "0x0000000000000000000000000000000000000000"
# ------------------------------------------------------------------------------
# Address of the bridge addr on L1
# ------------------------------------------------------------------------------
BridgeAddr = "0x0000000000000000000000000000000000000000"
[L2Config]
# ------------------------------------------------------------------------------
# Address of the sovereign global exit root proxy contract on L2
# ------------------------------------------------------------------------------
GlobalExitRootAddr = "0x0000000000000000000000000000000000000000"
# ------------------------------------------------------------------------------
# Address of the aggoracle committee. To be used when aggoracle committee is enabled
# ------------------------------------------------------------------------------
AggOracleCommitteeAddr = "0x0000000000000000000000000000000000000000"
# ------------------------------------------------------------------------------
# Address of the bridge addr on L2
# ------------------------------------------------------------------------------
BridgeAddr = "0x0000000000000000000000000000000000000000"
# ==============================================================================
# The below configs are the default parameters to be used.
# The user can modify it based on requirements
# ==============================================================================
# PathRWData = "/tmp/aggkit"
# RequireStorageContentCompatibility = true
# GenerateAggchainProofTimeout = "1h"
# defaultDBQueryTimeout = "60s"
# [L2RPC]
# ------------------------------------------------------------------------------
# Possible values for Mode - "basic", "op"
# ------------------------------------------------------------------------------
# Mode = "basic"
# URL = "{{L2URL}}"
# RetryMode = "backoff"
# MaxRetries = 5
# InitialBackoff = "2s"
# MaxBackoff = "10s"
# BackoffMultiplier = 2.0
#
# [Log]
# ------------------------------------------------------------------------------
# Possible values for Environment - "production", "development"
# ------------------------------------------------------------------------------
# Environment = "production"
# ------------------------------------------------------------------------------
# Possible values for Level - "debug", "info", "warn", "error", "panic", "fatal"
# ------------------------------------------------------------------------------
# Level = "info"
#
# [L1InfoTreeSync]
# SyncBlockChunkSize = 100
#
[AggOracle]
# ------------------------------------------------------------------------------
# Set to true if enabling aggoracle committee mode
# ------------------------------------------------------------------------------
EnableAggOracleCommittee = false
[AggOracle.EVMSender.EthTxManager]
# ------------------------------------------------------------------------------
# PrivateKeys is private key for aggoracle keystore
# ------------------------------------------------------------------------------
PrivateKeys = [
{Method = "local", Path = "/app/keystore/aggoracle.keystore", Password = "testonly"},
]
#
# [RPC]
# Host = "0.0.0.0"
# Port = 5576
#
# [REST]
# Host = "0.0.0.0"
# Port = 5577
#
[AggSender]
# ------------------------------------------------------------------------------
# Set to "AggchainProof" when enabling FEP. Possible values - "PessimisticProof", "AggchainProof", "Auto"
# ------------------------------------------------------------------------------
# Mode = "Auto"
#
# [Prometheus]
# Enabled = true
# Host = "localhost"
# Port = 9091
#
# [AggchainProofGen]
# [AggchainProofGen.AggkitProverClient]
# UseTLS = false
#
# [Profiling]
# ProfilingHost = "localhost"
# ProfilingPort = 6060
# ProfilingEnabled = false
#
# [Validator]
# [Validator.ServerConfig]
# Host = "0.0.0.0"
# Port = 5578