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
<!--
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
- For full node, During retrieval from DA, when ErrHeightFromFuture is
encountered, it should stop retrying the DA multiple times
consecutively.
- JSON RPC serialization doesn't preserve error wrapping correctly so
need to use strings.Contains instead for detecting errors.
<!--
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
## Summary by CodeRabbit
- **New Features**
- Improved error handling for "height from future" scenarios, providing
clearer feedback when data is requested from a future block height.
- **Bug Fixes**
- Enhanced detection and reporting of specific error conditions related
to data availability, ensuring more accurate status codes and messages.
- **Tests**
- Added a test case to verify correct handling and reporting of the
"height from future" error condition.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
0 commit comments