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
Labels:documentation, bug Priority: Medium Estimated Time: 1.5 hours
Description:
Given ip_registry's ContractError currently has only 5 variants (per #92) while atomic_swap's has roughly 60, and both are surfaced through the API server once handlers are wired (#49), confirm docs/api-reference.md accurately lists every error code a client can actually receive from each contract, not a stale or partial subset.
Tasks:
Generate the documented error-code list directly from each contract's error enum rather than hand-maintaining it
Add a CI check that fails if docs/api-reference.md's error table and the contracts' enums diverge
Labels:
documentation,bugPriority: Medium
Estimated Time: 1.5 hours
Description:
Given
ip_registry'sContractErrorcurrently has only 5 variants (per #92) whileatomic_swap's has roughly 60, and both are surfaced through the API server once handlers are wired (#49), confirmdocs/api-reference.mdaccurately lists every error code a client can actually receive from each contract, not a stale or partial subset.Tasks:
docs/api-reference.md's error table and the contracts' enums diverge