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: Expose Rollkit height to DA Height mapping (#2363)
<!--
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.
NOTE: PR titles should follow semantic commits:
https://www.conventionalcommits.org/en/v1.0.0/
-->
## Overview
Expose Rollkit height to DA Height mapping
Closes: #2360
<!--
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.
Ex: Closes #<issue number>
-->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Tracks and stores the specific height at which data is included in the
DA layer, enabling precise synchronization and mapping between Rollkit
and DA block heights.
- Enhanced logging to provide more detailed context on DA inclusion
events.
- **Bug Fixes**
- Ensures correct association of DA inclusion heights with headers and
data, improving block processing accuracy and error handling.
- **Documentation**
- Updated block validity specifications to clarify focus on data
validation and field requirements.
- **Tests**
- Expanded tests to cover DA height tracking, error scenarios,
concurrency, and metadata persistence, ensuring robust and reliable
behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
store.On("GetBlockData", mock.Anything, height).Return(headers[i], dataBlocks[i], nil).Times(2) // Called by IsDAIncluded and SetRollkitHeightToDAHeight
0 commit comments