@@ -2,6 +2,8 @@ testL1Disabled = false
2
2
3
3
duplicated-logs-debounce-time = " PT15S"
4
4
5
+ l1-default-endpoint = " http://l1-el-node:8545"
6
+ l2-default-endpoint = " http://sequencer:8545"
5
7
6
8
[protocol ]
7
9
[protocol .genesis ]
@@ -24,6 +26,7 @@ blocks-to-finalization = 2 # Used in MessageAnchoring and SafeBlockProvider
24
26
25
27
26
28
[conflation ]
29
+ diabled = false
27
30
blocks-limit = 2
28
31
conflation-calculator-version = " 1.0.0"
29
32
conflation-deadline = " PT6S" # =3*l2_block_time
@@ -36,6 +39,12 @@ conflation-deadline-last-block-confirmation-delay = "PT2S" # recommended: at lea
36
39
consistent-number-of-blocks-on-l1-to-wait = 1
37
40
fetch-blocks-limit = 4000
38
41
42
+ l2-block-creation-endpoint = " http://sequencer:8545"
43
+ l2-logs-endpoint = " http://sequencer:8545"
44
+ [conflation .counters .request-retries ]
45
+ max-attempts = 4
46
+ backoff-delay = " PT1S"
47
+ failures-warning-threshold = 2
39
48
40
49
[blob-compression ]
41
50
blob-size-limit = 102400 # 100KB
@@ -44,7 +53,6 @@ handler-polling-interval = "PT1S"
44
53
# batches-limit must be less than or equal to aggregation-proofs-limit-1
45
54
batches-limit = 1
46
55
47
-
48
56
[proof-aggregation ]
49
57
aggregation-proofs-limit = 3
50
58
aggregation-deadline = " PT1M"
@@ -60,22 +68,29 @@ fs-inprogess-proving-suffix-pattern = "\\.inprogress\\.prover.*"
60
68
fs-polling-interval = " PT1S"
61
69
fs-polling-timeout = " PT10M"
62
70
[prover .execution ]
63
- fs-requests-directory = " /data/prover- execution/requests"
64
- fs-responses-directory = " /data/prover- execution/responses"
71
+ fs-requests-directory = " /data/prover/v2/ execution/requests"
72
+ fs-responses-directory = " /data/prover/v2/ execution/responses"
65
73
[prover .blob-compression ]
66
- fs-requests-directory = " /data/prover- compression/requests"
67
- fs-responses-directory = " /data/prover- compression/responses"
74
+ fs-requests-directory = " /data/prover/v2/ compression/requests"
75
+ fs-responses-directory = " /data/prover/v2/ compression/responses"
68
76
[prover .proof-aggregation ]
69
- fs-requests-directory = " /data/prover-aggregation/requests"
70
- fs-responses-directory = " /data/prover-aggregation/responses"
71
-
72
-
73
- [zk-geth-traces ]
74
- eth-api = " http://traces-node:8545"
75
- new-block-polling-interval = " PT1S"
77
+ fs-requests-directory = " /data/prover/v2/aggregation/requests"
78
+ fs-responses-directory = " /data/prover/v2/aggregation/responses"
79
+
80
+ # [prover.new]
81
+ # switch-block-number-inclusive=1000
82
+ # [prover.new.execution]
83
+ # fs-requests-directory = "/data/prover/v3/execution/requests"
84
+ # fs-responses-directory = "/data/prover/v3/execution/responses"
85
+ # [prover.new.blob-compression]
86
+ # fs-requests-directory = "/data/prover/v3/compression/requests"
87
+ # fs-responses-directory = "/data/prover/v3/compression/responses"
88
+ # [prover.new.proof-aggregation]
89
+ # fs-requests-directory = "/data/prover/v3/aggregation/requests"
90
+ # fs-responses-directory = "/data/prover/v3/aggregation/responses"
76
91
77
92
[traces ]
78
- raw-execution-traces-version = " 0.2.0"
93
+ raw-execution-traces-version = " 0.2.0" # TODO: remove after we remove geth tracing
79
94
expected-traces-api-version = " 0.2.0"
80
95
[traces .counters ]
81
96
endpoints = [" http://traces-api:8080/" ]
@@ -101,6 +116,25 @@ create-non-canonical-directory = true
101
116
polling-interval = " PT1S"
102
117
traces-file-creation-wait-timeout = " PT2M"
103
118
119
+ # [traces.new]
120
+ # #switch-block-number-inclusive=1000
121
+ # expected-traces-api-version = "2.2.0"
122
+ # [traces.new.counters]
123
+ # endpoints = ["http://traces-api-v2:8080/"]
124
+ # request-limit-per-endpoint = 20
125
+ # [traces.new.counters.request-retries]
126
+ # max-attempts = 4
127
+ # backoff-delay = "PT1S"
128
+ # failures-warning-threshold = 2
129
+ #
130
+ # [traces.new.conflation]
131
+ # endpoints = ["http://traces-api:8080/"]
132
+ # request-limit-per-endpoint = 2
133
+ # [traces.new.conflation.request-retries]
134
+ # max-attempts = 4
135
+ # backoff-delay = "PT1S"
136
+ # failures-warning-threshold = 2
137
+
104
138
[state-manager ]
105
139
version = " 2.2.0"
106
140
endpoints = [" http://shomei:8888/" ]
@@ -110,15 +144,42 @@ max-attempts = 5
110
144
backoff-delay = " PT2S"
111
145
failures-warning-threshold = 2
112
146
147
+ # [state-manager.new]
148
+ # switch-block-number-inclusive=1000
149
+ # version = "2.2.0"
150
+ # endpoints = ["http://shomei:8888/"]
151
+ # request-limit-per-endpoint = 3
152
+ # [state-manager.new.request-retries]
153
+ # max-attempts = 5
154
+ # backoff-delay = "PT2S"
155
+ # failures-warning-threshold = 2
156
+
113
157
[type2-state-proof-provider ]
158
+ disabled = false
114
159
endpoints = [" http://shomei-frontend:8888/" ]
160
+ l1-query-block-tag =" LATEST"
161
+ l1-polling-interval =" PT12S"
162
+
115
163
[type2-state-proof-provider .retries ]
116
164
max-attempts = 3
117
165
backoff-delay = " PT1S"
118
166
failures-warning-threshold = 2
119
167
120
168
169
+ [l1-finalization-monitor ]
170
+ l1-endpoint = " http://l1-el-node:8545"
171
+ l2-endpoint = " http://sequencer:8545"
172
+ polling-interval = " PT1S"
173
+ l1-query-block-tag =" FINALIZED"
174
+
175
+ [l1-finalization-monitor .retries ]
176
+ max-attempts = 3
177
+ backoff-delay = " PT1S"
178
+ failures-warning-threshold = 2
179
+
180
+
121
181
[l1-submission ] # submission
182
+ disabled = true
122
183
[l1-submission .dynamic-gas-price-cap ]
123
184
disabled = true
124
185
[l1-submission .dynamic-gas-price-cap .gas-price-cap-calculation ]
@@ -142,7 +203,7 @@ fee-history-reward-percentile = 15
142
203
143
204
[l1-submission .blob ]
144
205
disabled = false
145
- rpc- endpoint = " http://l1-el-node:8545"
206
+ endpoint = " http://l1-el-node:8545"
146
207
submission-delay = " PT1S"
147
208
submission-tick-interval = " PT1S"
148
209
max-submissions-per-tick = 10
@@ -173,7 +234,7 @@ public-key = "9d9031e97dd78ff8c15aa86939de9b1e791066a0224e331bc962a2099a7b1f0464
173
234
174
235
[l1-submission .aggregation ]
175
236
disabled = false
176
- rpc- endpoint = " http://l1-el-node:8545"
237
+ endpoint = " http://l1-el-node:8545"
177
238
submission-delay = " PT1S"
178
239
submission-tick-interval = " PT1S"
179
240
max-submissions-per-tick = 10
@@ -201,19 +262,22 @@ public-key = "ba5734d8f7091719471e7f7ed6b9df170dc70cc661ca05e688601ad984f068b0d6
201
262
202
263
[message-anchoring ]
203
264
disabled = false
204
- l1-rpc-endpoint = " http://l1-el-node:8545"
205
- l2-rpc-endpoint = " http://sequencer:8545"
265
+ l1-endpoint = " http://l1-el-node:8545"
266
+ l2-endpoint = " http://sequencer:8545"
267
+ l1-query-block-tag =" FINALIZED"
268
+ l2-query-block-tag =" LATEST" # optional, default to LATEST it shall not be necessary as Linea has instant finality
206
269
anchoring-tick-interval = " PT10S" # "polling-interval="PT10S"
207
- earliest-block = 0
270
+ messages-anchoring-chuck-size = 100 # limit of L1toL2 Messages to anchor in a single L2 transaction
271
+ l1-earliest-block = 0 # it should match smart contract deplyment block # TODO: check if can use events to infer this block
208
272
# used in L2MessageAnchorerImpl bit this waiting is not necessary anymore
209
273
# these values can be removed once we adapt L2MessageAnchorerImpl to wait a given time.
210
274
anchoring-receipt-polling-interval = " PT01S"
211
275
max-receipt-retries = 120
212
276
213
- [message-anchoring .send-message -event-scraping ]
214
- scraping -interval = " PT1S" # send- message-event -polling-interval
215
- scraping -timeout = " PT5S" # max-event-scraping-time
216
- scraping-event- limit = 100
277
+ [message-anchoring .l1 -event-scraping ]
278
+ polling -interval = " PT1S" # message-events -polling-interval
279
+ polling -timeout = " PT5S" # max-event-scraping-time
280
+ message- limit-pertick = 100
217
281
block-range-limit = 500
218
282
finalized-block-tag = " FINALIZED" # optional, default to FINALIZED
219
283
# reset this once we know what to do on dev/UAT
@@ -238,11 +302,6 @@ max-pool-size = 10
238
302
keep-alive = true
239
303
public-key = " 4a788ad6fa008beed58de6418369717d7492f37d173d70e2c26d9737e2c6eeae929452ef8602a19410844db3e200a0e73f5208fd76259a8766b73953fc3e7023"
240
304
241
- [l2 ]
242
- # NOTE: this used in multiple places:
243
- # anchoring, aggregation (getting Message numbers), finalization (get L2 Block Info)
244
- rpc-endpoint = " http://sequencer:8545"
245
-
246
305
247
306
[l2-network-gas-pricing ] # old [dynamic-gas-price-service]
248
307
disabled = false
@@ -271,18 +330,18 @@ blob-submission-expected-execution-gas = 213000.0 # Lower to 120k as we improve
271
330
variable-cost-upper-bound = 10000000001 # ~10 GWEI
272
331
variable-cost-lower-bound = 90000001 # ~0.09 GWEI
273
332
margin = 4.0
274
- extra-data-update-recipient = " http://sequencer:8545/"
333
+ extra-data-update-endpoint = " http://sequencer:8545/"
275
334
276
335
[l2-network-gas-pricing .min-mineable ] # current legacy implementation
277
336
base-fee-coefficient = 0.1
278
337
priority-fee-coefficient = 1.0
279
338
base-fee-blob-coefficient = 0.1
280
339
legacy-fees-multiplier = 1.2
281
- geth-gas-price-update-recipients = [
340
+ geth-gas-price-update-endpoints = [
282
341
" http://traces-node:8545/" ,
283
342
" http://l2-node:8545/"
284
343
]
285
- besu-gas-price-update-recipients = [
344
+ besu-gas-price-update-endpoints = [
286
345
" http://sequencer:8545/"
287
346
]
288
347
@@ -298,5 +357,3 @@ transactional_pool_size = 10
298
357
299
358
[api ]
300
359
observability_port = 9545
301
-
302
- l1.blocks-to-finalization = 2 # TODO: Remove this, used on Finalization Monitor: use "FINALISED" tag instead
0 commit comments