NethermindEth / NethermindEth/Catalyst
Dynamically adjust `PRECONF_MIN_TXS` and `PRECONF_MAX_SKIPPED_L2_SLOTS` based on L1 gas price
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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