Skip to content

feat: add MIN_L1_TX_SIZE configuration#2289

Merged
mslipper merged 1 commit intoethereum-optimism:developfrom
cfromknecht:bss-min-tx-size
Mar 9, 2022
Merged

feat: add MIN_L1_TX_SIZE configuration#2289
mslipper merged 1 commit intoethereum-optimism:developfrom
cfromknecht:bss-min-tx-size

Conversation

@cfromknecht
Copy link
Contributor

Description
Adds a MIN_L1_TX_SIZE configuration for controlling the minimum tx batch size.

Metadata

  • Fixes ENG-1948

@changeset-bot
Copy link

changeset-bot bot commented Mar 8, 2022

🦋 Changeset detected

Latest commit: 75040ca

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@eth-optimism/batch-submitter-service Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

LOG_LEVEL=debug
BATCH_SUBMITTER_LOG_LEVEL=debug
BATCH_SUBMITTER_LOG_TERMINAL=true
BATCH_SUBMITTER_MIN_L1_TX_SIZE=32
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this in bytes?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes it is

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and it also includes the function selector

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe include the unit with the config option, like metrics?
BATCH_SUBMITTER_MIN_L1_TX_BYTES
BATCH_SUBMITTER_POLL_INTERVAL_MS

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the poll interval is a duration flag meaning you can do 10s for 10 seconds and it will be parsed without a problem

@tynes
Copy link
Contributor

tynes commented Mar 8, 2022

Do you mind adding a logline that logs the min and max tx sizes at startup?

@codecov-commenter
Copy link

codecov-commenter commented Mar 8, 2022

Codecov Report

Merging #2289 (75040ca) into develop (42d02bc) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #2289   +/-   ##
========================================
  Coverage    80.08%   80.08%           
========================================
  Files           77       77           
  Lines         2460     2460           
  Branches       450      450           
========================================
  Hits          1970     1970           
  Misses         490      490           
Flag Coverage Δ
contracts 99.29% <ø> (ø)
core-utils 86.77% <ø> (ø)
data-transport-layer 49.72% <ø> (ø)
sdk 55.75% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 42d02bc...75040ca. Read the comment docs.

@mslipper mslipper merged commit 0eb52d6 into ethereum-optimism:develop Mar 9, 2022
@cfromknecht cfromknecht deleted the bss-min-tx-size branch March 9, 2022 17:19
theochap pushed a commit that referenced this pull request Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ops Area: ops

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants