NethermindEth / NethermindEth/Catalyst

Dynamically adjust `PRECONF_MIN_TXS` and `PRECONF_MAX_SKIPPED_L2_SLOTS` based on L1 gas price

Open
#588 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
44
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Adjust PRECONF_MIN_TXS and PRECONF_MAX_SKIPPED_L2_SLOTS dynamically based on the current L1 gas price. The goal is to reduce the number of L2 blocks produced when L1 gas prices are high, optimizing for cost efficiency.

Note:
What happens if throttling occurs at the same time and PRECONF_MIN_TXS is higher than the value determined by the throttle factor?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. First locate the definitions and current update paths for PRECONF_MIN_TXS and PRECONF_MAX_SKIPPED_L2_SLOTS, then identify how the current L1 gas price is obtained and resolve how gas-price adjustments interact with throttling; done means an agreed policy is implemented and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.