Skip to content

🐛 fix: Validate EIP-4844 blob versioned hash version byte#287

Merged
roninjin10 merged 1 commit intomainfrom
fix/issue-63-blob-version
Jan 4, 2026
Merged

🐛 fix: Validate EIP-4844 blob versioned hash version byte#287
roninjin10 merged 1 commit intomainfrom
fix/issue-63-blob-version

Conversation

@roninjin10
Copy link
Contributor

Summary

Test plan

  • Version 0x00 rejected
  • Version 0x02 rejected
  • Version 0xff rejected
  • Version 0x01 accepted

🤖 Generated with Claude Code

EIP-4844 blob versioned hashes must have version byte 0x01 (COMMITMENT_VERSION_KZG).
Previously only size (32 bytes) was validated during deserialization. Now also
validates version byte and throws INVALID_BLOB_HASH_VERSION error for mismatches.

Fixes #63

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Jan 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
dist Error Error Jan 4, 2026 0:32am
voltaire Error Error Jan 4, 2026 0:32am

@roninjin10 roninjin10 merged commit f18a76f into main Jan 4, 2026
19 of 48 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.

Bug: EIP-4844 blob versioned hash version byte not validated

1 participant