Skip to content

Governance anchor removal on an expired entry surfaces a raw host error #583

Description

@therealjhay

Problemremove_anchor on an expired/archived entry fails at the host layer rather than a typed error (related to issue 53's TTL).

  1. Raw host error.
  2. No typed NotFound.
  3. Client ambiguity.

Solution

  • Map archived/expired reads to a typed error.
  • Test removal on expired anchors.

Acceptance Criteria

  • Typed error on expired anchor ops.
  • cargo test --workspace passes.

Note for Contributors: Write a clear PR description. Show the expired-anchor test.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third Campaign

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions