Skip to content

merkle-builder 0.4.0 - #42

Merged
adraffy merged 1 commit into
mainfrom
merkle-builder-0.4
Dec 1, 2026
Merged

adraffy merged 1 commit into
mainfrom
merkle-builder-0.4

Conversation

@adraffy

@adraffy adraffy commented Dec 1, 2026

Copy link
Copy Markdown
Member

Bumps @ensdomains/merkle-builder from ^0.3.0 to ^0.4.0 in shared, registrar-indexer and registrar-gateway.

What changed in 0.4.0 (compare):

  • Ref caching: trie nodes cache their ref (branches, leaves and extensions) instead of being re-encoded and hashed. Node types gain an optional ref field.
  • keccak: now from @adraffy/keccak256 instead of @adraffy/keccak. The lockfile only swaps that dependency.
  • Removed: extractNode and clearCache. Neither is used here.

No code changes were needed. bun run check, lint and test pass, including chunks.test.ts and trie.test.ts, which compare our rows and chunks against merkle-builder.

🤖 Generated with Claude Code

Tries cache each node's ref instead of re-encoding and hashing it; keccak comes from
@adraffy/keccak256. extractNode and clearCache are gone (unused here). No code changes needed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@adraffy
adraffy merged commit e48b8bf into main Dec 1, 2026
17 of 18 checks passed
@adraffy
adraffy deleted the merkle-builder-0.4 branch December 1, 2026 01:24
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