Skip to content

fix: pad contingency registry_script.hash to 28 bytes - #20

Open
paolino wants to merge 1 commit into
mainfrom
fix/contingency-registry-hash
Open

paolino wants to merge 1 commit into
mainfrom
fix/contingency-registry-hash

Conversation

@paolino

@paolino paolino commented May 22, 2026

Copy link
Copy Markdown
Contributor

One-character JSON fix in journal/2026/metadata.json.

The contingency scope's registry_script.hash was 27.5 bytes
(missing the trailing 8):

metadata:  7d275cf8c09fd91e73879993ef13cb73915196478d5e3777992f988    (27.5 B)
on-chain:  7d275cf8c09fd91e73879993ef13cb73915196478d5e3777992f9888  (28 B)

Intent builders that verify metadata against chain anchors
(amaru-treasury-tx contingency-disburse-wizard) abort with
AnchorMismatch "registry_script.hash" (Just Contingency) on
every fresh clone, blocking contingency-flavoured operations.

Verified against the live deployment ref
e7b395a93d49a17994d66df0e4778a01dee05e7711e6612f28d97b63e4e6311c#04.

Related: #19.

The contingency registry_script.hash was 27.5 bytes (missing a
trailing 8). The on-chain hash is the correct 28-byte value;
intent.json builders comparing the two abort with AnchorMismatch
"registry_script.hash" (Just Contingency), blocking every
contingency-flavoured operation on a fresh clone.
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