batchsender

command
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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