Skip to content

Commit d274123

Browse files
author
colinlyguo
committed
revert proposer tool config changes
1 parent 8f44dc9 commit d274123

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

rollup/docker-compose-proposer-tool.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ services:
2828
"--config", "/app/conf/proposer-tool-config.json",
2929
"--genesis", "/app/conf/proposer-tool-genesis.json",
3030
"--min-codec-version", "7",
31-
"--start-l2-block", "14907015",
31+
"--start-l2-block", "10000",
3232
"--log.debug", "--verbosity", "3"
3333
]
3434
volumes:

rollup/internal/controller/relayer/l2_relayer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ func (r *Layer2Relayer) ProcessPendingBatches() {
522522
log.Info("Sent the commitBatches tx to layer1", "batches count", len(batchesToSubmit), "start index", firstBatch.Index, "start hash", firstBatch.Hash, "end index", lastBatch.Index, "end hash", lastBatch.Hash, "tx hash", txHash.String())
523523
}
524524

525-
func (r *Layer2Relayer) contextIDFromBatches(codecVersion encoding.CodecVersion, batches []*dbBatchWithChunksAndParent) string {
525+
func (r *Layer2Relayer) contextIDFromBatches(codecVersion encoding.CodecVersion, batches []*dbBatchWithChunks) string {
526526
contextIDs := []string{fmt.Sprintf("v%d", codecVersion)}
527527
for _, batch := range batches {
528528
contextIDs = append(contextIDs, batch.Batch.Hash)

rollup/proposer-tool-config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"l2_config": {
33
"endpoint": "https://rpc.scroll.io",
44
"chunk_proposer_config": {
5-
"max_block_num_per_chunk": 1000,
6-
"max_l2_gas_per_chunk": 200000000000,
5+
"max_block_num_per_chunk": 100,
6+
"max_l2_gas_per_chunk": 20000000,
77
"chunk_timeout_sec": 72000000000
88
},
99
"batch_proposer_config": {

0 commit comments

Comments
 (0)