Skip to content

cl/block_collector: validate persistent block values#21396

Open
nivanovvv wants to merge 1 commit into
erigontech:mainfrom
nivanovvv:validate-persistent-block-values
Open

cl/block_collector: validate persistent block values#21396
nivanovvv wants to merge 1 commit into
erigontech:mainfrom
nivanovvv:validate-persistent-block-values

Conversation

@nivanovvv
Copy link
Copy Markdown
Contributor

Summary

  • Validate the decompressed persistent block value before reading the version, parent root, and execution requests hash.
  • Return a diagnostic decode error for truncated persisted rows instead of panicking on slice bounds.
  • Add coverage for empty, pre-Electra, and Electra-style truncated values.

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.

3 participants