Commit 70f51062 authored by Kevin Ho's avatar Kevin Ho Committed by GitHub

Update ecotone-scalar README.md (#9551)

parent a7866fbe
# 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 SystemConfig contract. After the Ecotone upgrade, the
overhead parameter is ignored, and the scalar parameter encodes a versioned bytes32 that allows
`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](../../Makefile) `ecotone-scalar` target. Run `make
ecotone-scalar` to create a binary in [../../bin/ecotone-scalar](../../bin/ecotone-scalar) that can
Build and run using the [Makefile](../../Makefile) `ecotone-scalar` target. Inside of `/op-chain-ops`, run:
```sh
make ecotone-scalar
```
to create a binary in [../../bin/ecotone-scalar](../../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:
```sh
./bin/ecotone-scalar --scalar=100 --blob-scalar=680000
./bin/ecotone-scalar --scalar=7600 --blob-scalar=862000
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment