lastVerified and a validUntil date, and both fail closed once validUntil has passed (the date counts until 23:59:59 UTC):
Expiry is a date on a file, so it is the one incident that can always be prevented. The fix is a reviewed pull request, never a configuration change: there is no switch that skips the check.
Blast radius
- Exchange registry: every exchange close, on both networks, until the restamped registry deploys. No funds are at risk; users can close into a wallet they control meanwhile.
- Contract registry: token conversion and the confirmed state of DeFi detection. Exits that the registry already verified keep their hash check.
Steps
-
Check the days left:
Expected:
daysRemainingpositive, and both dates in the future. Start step 2 at 30 days left, when the boot warning appears. -
Re-verify every entry against its source, never against another registry:
- Exchange registry: each deposit address, memo requirement and memo type against the exchange’s own deposit documentation, by CONTRIBUTING, Contributing to registries.
-
Contract registry: each entry’s code hash re-read from the ledger, by
apps/api/src/lib/contract-registry/README.md(“Refreshing it”):Expected: the entry’swasmHash. A different hash is an upgrade: followS7.Tampering.1.M.1in the monitoring plan for that entry before restamping anything.
-
Restamp: set
lastVerifiedto today andvalidUntilto 90 days later, as the current files do, and change any entry that moved. Run the registry tests:Expected: all pass. -
Sign the exchange registry (skip it when only the contract registry changed). The exchange registry carries a maintainer signature, and CI fails when the registry changed without a fresh one. A maintainer holding a registry signing key pipes the secret seed into the first command below on standard input and commits the data files; nothing is passed as an argument and nothing is written anywhere else:
Expected:
Signed sequence N, the vectors rewritten, andThe exchange registry signature is current.An unsigned or stale signature does not block closes: clients treat the registry as unsigned, so it can still tighten rules, but a newly listed exchange that needs the relay account stays refused until the signed copy is current. - Open the pull request with what you checked for every entry, and merge it after review. The merge deploys the API.
Confirm the fix
validUntil. A close into a listed exchange then plans without registry_expired.