You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add limit for pending DA submission blocks (#1609)
<!--
Please read and fill out this form before submitting your PR.
Please make sure you have reviewed our contributors guide before
submitting your
first PR.
-->
## Overview
A new function has been added to determine the number of pending blocks
for DA submission, alongside a new config parameter to set a limit on
this. If this limit is reached, the block production process gets
paused. The necessary tests and command flags have also been included.
Resolves#1524
<!--
Please provide an explanation of the PR, including the appropriate
context,
background, goal, and rationale. If there is an issue with this
information,
please provide a tl;dr and link the issue.
-->
## Checklist
<!--
Please complete the checklist to ensure that the PR is ready to be
reviewed.
IMPORTANT:
PRs should be left in Draft until the below checklist is completed.
-->
- [x] New and updated code has appropriate documentation
- [x] New and updated code has new and/or updated testing
- [x] Required CI checks are passing
- [x] Visual proof for any user facing features like CLI or
documentation updates
- [x] Linked issues closed with keywords
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced a limit on the number of blocks pending submission to
enhance system stability and manageability.
- Added a new configuration option to set the maximum number of pending
blocks during system initialization.
- **Tests**
- Implemented new integration tests to verify the block submission limit
functionality.
- **Documentation**
- Updated documentation to include guidance on configuring the maximum
number of pending blocks.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
0 commit comments