batchsender

command
v0.7.1-RC3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 18 Imported by: 0

README

Batchsender

Overview

This script allows to send a specified number of (empty) batch transactions to L1. Optionally it can wait for the batch to be verified. The script interacts with L1 only. Basically it acts like a sequencer but without building a real rollup. It can be useful to test the Synchronizer and the Aggregator.

Usage

The script can be installed running go install from this folder.

Examples
  • Send 1 batch:
$ batchsender 
  • Send 42 batches:
$ batchsender send 42

Flags

--sequences, -s <nsequences>

Send the specified number of sequences, each one filled with the provided number of batches.

Examples
  • Send 2 sequences with 42 batches each:
$ batchsender -s 2 send 42
--wait, -w

Wait for batches to be verified on L1.

Examples
  • Send 1 batch and wait for its proof:
$ batchsender -w send
  • Send 2 sequences with 42 batches each and wait for the proofs:
$ batchsender -w -s 2 send 42
--verbose, -v

Prints verbose output to the console.

Examples
  • Send 42 batches with verbose logs and wait for the proofs:
$ batchsender -v -w send 42

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL