ecotone-scalar

command
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 6 Imported by: 0

README

ecotone-scalar

A CLI tool for computing the value of scalar to use after the Ecotone upgrade in a call to setGasConfig(scalar, overhead) of the L1 SystemConfigProxy contract. After the Ecotone upgrade, the overhead parameter is ignored, and the scalar parameter encodes a versioned bytes32 that allows configuring the base fee scalar and blob base fee scalars separately.

Usage

Build and run using the Makefile ecotone-scalar target. Inside of /op-chain-ops, run:

make ecotone-scalar

to create a binary in ../../bin/ecotone-scalar that can be executed, providing the --scalar and --blob-scalar flags to specify the base bee scalar and blob base fee parameters respectively, for example:

./bin/ecotone-scalar --scalar=7600 --blob-scalar=862000

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