You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Check the whole vault wiring before deposits open #326
As an adopter deploying on my own, I want the vault closed while its wiring is wrong. finish_setup checks the bindings, the token's manager role, the share supply, the allowlist and the freeze. It does not check that the asset has the share token's decimals, that the asset, token, oracle and vault are four different addresses, that the oracle answers the feed's views, or that a custodian is set. set_custodian and a timelocked Custodian change accept the vault's own address.
Expected outcome
finish_setup refuses with SetupIncomplete until each of these holds, and health() reports each one. Every path that sets the custodian refuses the vault's address with a new error.
Acceptance criteria
One setup test per new check: each miswiring is refused with SetupIncomplete, and its health() field is false
A custodian equal to the vault is refused everywhere it can be set
The harness deploy checks the new fields and passes on a local network
The kit spec's Health table and runbook list the new checks
Alternatives considered
Requiring a valid price before setup finishes. A new feed has no report yet, so the check only asks that the oracle answers.
Activity
luchobonatti commentedon Oct 27, 2026
Done in #275, merged into
feedback.