Skip to content

fix(verifier): match header blobs wrapped in DAHeaderEnvelope - #63

Merged
auricom merged 1 commit into
mainfrom
recur/fix-da-envelope-verification
Nov 6, 2026
Merged

auricom merged 1 commit into
mainfrom
recur/fix-da-envelope-verification

Conversation

@auricom

@auricom auricom commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

ev-node publishes header blobs inside a DAHeaderEnvelope that carries an extra envelope signature, so the old commitment-based VerifyBlobAtHeight never matched them and headers were reported as missing. This replaces it with VerifyHeaderBlobAtHeight, which unwraps each published blob to its signed-header content (dropping the envelope signature) and compares it to the stored block; legacy blobs without an envelope still match. Header and data verification now share one verifyBlobAtHeight loop. Adds a table test covering envelope, legacy, mismatched, empty and undecodable blobs, and updates the README to explain the matching and what "missing" means.

ev-node publishes headers inside a DAHeaderEnvelope with an extra envelope
signature that cannot be recomputed, so commitment-based lookup never matched.
Compare by signed-header content instead, sharing the unwrap-and-compare loop
with data blob verification.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 6, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f096dffb-cee4-4f49-ab17-c7f590a1e2f9
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Tip

🎯 Customize your risk assessments

Guide how CodeRabbit assesses merge risk and security architecture risk. Highlight sensitive changes and explain your security boundaries using Merge Risk Instructions and Security Risk Instructions in your review settings. Security architecture risk assessments require the Advanced plan or above.

✅ Automatic approvals, with your rules

Let CodeRabbit approve pull requests once required threads are resolved, pre-merge checks pass, and your risk limits are met. Enable Automatic approvals in review settings, with overrides for teams or file paths.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@auricom
auricom merged commit e369056 into main Nov 6, 2026
5 checks passed
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