Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
70f51062
Unverified
Commit
70f51062
authored
Feb 16, 2024
by
Kevin Ho
Committed by
GitHub
Feb 16, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ecotone-scalar README.md (#9551)
parent
a7866fbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
README.md
op-chain-ops/cmd/ecotone-scalar/README.md
+8
-5
No files found.
op-chain-ops/cmd/ecotone-scalar/README.md
View file @
70f51062
# 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
=
680
000
./bin/ecotone-scalar
--scalar
=
7600
--blob-scalar
=
862
000
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment