Skip to content

eth: validate DA blob HTTP responses - #521

Open
vividvisit wants to merge 1 commit into
ethstorage:mainfrom
vividvisit:my_feature_vivid
Open

vividvisit wants to merge 1 commit into
ethstorage:mainfrom
vividvisit:my_feature_vivid

Conversation

@vividvisit

Copy link
Copy Markdown

Validate DA HTTP responses before returning blob data.

The client now rejects non-success status codes, limits the response body to one byte beyond the expected KZG blob size, and requires an exact-size payload. Tests cover status failures, short bodies, oversized bodies, and a valid blob.

Signed-off-by: vividvisit <vividvisit@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant