Skip to content

feat!: move root hash from VerifiedMessage onto Zone#104

Merged
buffrr merged 2 commits intomainfrom
releases
Apr 23, 2026
Merged

feat!: move root hash from VerifiedMessage onto Zone#104
buffrr merged 2 commits intomainfrom
releases

Conversation

@buffrr
Copy link
Copy Markdown
Member

@buffrr buffrr commented Apr 23, 2026

Drop VerifiedMessage::root_id and add anchor_hash: Hash on each Zone (set to compute_root_id(&anchor) during verify). Zones are now self-describing - a stored zone carries which root anchor it was proven against without needing the parent message.

BREAKING CHANGE: Zone borsh format changes (fromBytes on old data will fail). VerifiedMessage.rootId / root_id getters removed from wasm and uniffi bindings - read zones[i].anchor_hash instead.

buffrr added 2 commits April 24, 2026 01:29
Drop VerifiedMessage::root_id and add anchor_hash: Hash on each Zone
(set to compute_root_id(&anchor) during verify). Zones are now
self-describing - a stored zone carries which root anchor it was
proven against without needing the parent message.

BREAKING CHANGE: Zone borsh format changes (fromBytes on old data
will fail). VerifiedMessage.rootId / root_id getters removed from
wasm and uniffi bindings - read zones[i].anchor_hash instead.
@buffrr buffrr merged commit a520b0f into main Apr 23, 2026
5 checks passed
@buffrr buffrr deleted the releases branch April 23, 2026 23:48
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