Skip to content

docs(attester-registry): explain two-step admin transfer on NoPendingTransfer - #294

Open
petermuazu wants to merge 1 commit into
Lafiya-xyz:mainfrom
petermuazu:fix/issue-272-nopendingtransfer-doc
Open

docs(attester-registry): explain two-step admin transfer on NoPendingTransfer#294
petermuazu wants to merge 1 commit into
Lafiya-xyz:mainfrom
petermuazu:fix/issue-272-nopendingtransfer-doc

Conversation

@petermuazu

@petermuazu petermuazu commented Aug 27, 2026

Copy link
Copy Markdown

Closes #272
Closes #273
Closes #274
Closes #275

Summary

Error::NoPendingTransfer is returned when accept_admin is called without a prior propose_admin, but the doc comment didn't spell out the two-step admin-transfer flow callers must follow. This PR documents the propose_adminaccept_admin sequence on the attester-registry variant and syncs docs/error-codes.md to match — mirroring the equivalent fix for attestation-registry (#266).

Changes

  • contracts/attester-registry/src/lib.rs — expanded the Error::NoPendingTransfer doc comment to explain the two-step flow: the current admin must first call propose_admin to nominate a successor, then the nominated address must call accept_admin to complete the transfer. Wording matches the style used in the attestation-registry fix.
  • docs/error-codes.md — updated the attester-registry NoPendingTransfer row description to reflect the two-step flow.

Validation

  • Change is documentation-only (doc comment + docs table entry); it does not affect compilation or test behavior.
  • Could not run cargo check/clippy/test or the error-docs conformance check — no Rust toolchain or stellar CLI is available in this sandbox. Note the conformance script only validates error codes and names, which are unchanged; recommend CI confirms.

Closes #272

…Transfer

The error is returned when accept_admin runs without a prior
propose_admin, but the doc comment did not spell out the two-step
flow callers must follow. Document the propose_admin -> accept_admin
sequence on Error::NoPendingTransfer, matching the wording used in
the attestation-registry fix, and sync docs/error-codes.md.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@drips-wave

drips-wave Bot commented Aug 27, 2026

Copy link
Copy Markdown

@petermuazu Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment