Skip to content

Conversation

@niran
Copy link
Contributor

@niran niran commented Nov 7, 2025

Post-Fulu, beacon nodes may return invalid/zeroed KZG proofs (0xc0...) for blob sidecars while the blob archiver computes and stores valid proofs. This caused false validation errors.

Changes:

  • Add verifyKZGProofs() to cryptographically validate KZG proofs
  • Accept data mismatches when only KZG fields differ and blob API proofs are valid
  • Reject data when blob API proofs are invalid or non-KZG fields differ
  • Add comprehensive tests for KZG validation scenarios

This fixes validator errors for slots around the Fulu fork while maintaining data integrity checks.

Post-Fulu, beacon nodes may return invalid/zeroed KZG proofs (0xc0...)
for blob sidecars while the blob archiver computes and stores valid
proofs. This caused false validation errors.

Changes:
- Add verifyKZGProofs() to cryptographically validate KZG proofs
- Accept data mismatches when only KZG fields differ and blob API
  proofs are valid
- Reject data when blob API proofs are invalid or non-KZG fields differ
- Add comprehensive tests for KZG validation scenarios

This fixes validator errors for slots around the Fulu fork while
maintaining data integrity checks.
@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Nov 7, 2025

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@niran niran requested a review from danyalprout November 7, 2025 21:49
@niran niran merged commit f6291e5 into master Nov 7, 2025
7 checks passed
@niran niran deleted the fix/kzg-proof-validation branch November 7, 2025 23:17
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.

4 participants