Repository navigation
docs(testnet): add runbooks for recovery check and nonce desync, and monitoring policies - #1126
Merged
phertyameen merged 1 commit intoNov 25, 2026
Conversation
…monitoring policies - Add verification runbook for expired-account recovery checking AccountExpired event fields against on-chain balances (Closes bridgelet-org#1000) - Add runbook for off-chain signer SweepController nonce desync detection and resync (Closes bridgelet-org#999) - Propose ratio-based alert thresholds for sustained AccountExpired vs SweepCompleted rise (Closes bridgelet-org#1009) - Curate ready-made block-explorer URLs pre-scoped to deployed testnet contract IDs (Closes bridgelet-org#1010) Closes bridgelet-org#999 Closes bridgelet-org#1000 Closes bridgelet-org#1009 Closes bridgelet-org#1010
|
@Alhaandr 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! 🚀 |
Contributor
Author
|
work done, Sir. please merge it ASAP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #999
Closes #1000
Closes #1009
Closes #1010
This pull request implements four key runbook and monitoring deliverables for testnet operations:
testnet/runbooks/expired-account-recovery-check.md(testnet/runbooks/expired-account-recovery-check.md: verify that funds actually landed at recovery_address after an expiry #1000): Documents the verification procedure for confirming that funds and base reserve actually landed at the configuredrecovery_addressafter account expiry, cross-checkingAccountExpiredevent fields (recovery_address,amount_returned/total_amount, andreserve_amount) against actual on-chain SEP-41 token and reserve balances. Includes structured workflows for both manual QA testing and investigating reported discrepancies.testnet/runbooks/nonce-desync.md(testnet/runbooks/nonce-desync.md: recovering when an off-chain signer's nonce tracking falls out of sync with the on-chain SweepController nonce #999): Documents detection and recovery when an integrator's off-chain system (contextually usingtools/sweep-signer) tracks nonces independently and falls out of sync with the live on-chainSweepController. Explains symptoms (repeatedSignatureVerificationFaileddespite a seemingly correct signature) and provides steps to directly query the contract viaget_nonce()to resync the signing queue.testnet/monitoring/alert-thresholds.md(testnet/monitoring/alert-thresholds.md: propose alert thresholds for a sustained rise in AccountExpired events relative to SweepCompleted #1009): Proposes a concrete ratio-based alerting policy (AccountExpired) than being successfully swept (SweepCompleted), indicating partner relayer failure or contract regressions.testnet/monitoring/explorer-links.md(testnet/monitoring/explorer-links.md: curate Stellar Expert / Lumenscan links pre-filtered to this project's testnet contracts #1010): Curates pre-scoped, one-click Stellar Expert and Lumenscan URLs for all canonical deployed testnet contract IDs (SweepController,EphemeralAccount,ReserveContract, andAccountFactory), updating outdated IDs to matchdeployments/testnet.jsonand providing direct links to transaction and event histories.What changed
testnet/runbooks/expired-account-recovery-check.md:AccountExpiredandReserveReclaimedevent fields.testnet/runbooks/nonce-desync.md:tools/sweep-signerand how independent off-chain nonce tracking drifts.SweepController::get_nonce().testnet/monitoring/alert-thresholds.md:sweep_completion_silence) whentestnet/monitoring/explorer-links.md:deployments/testnet.json.Why
Testing performed
scripts/check-testnet-links.pyto verify all relative markdown links and anchors across the repository; confirmed zero broken links introduced by these changes.deployments/testnet.jsonanddeployment-artifacts/contract-ids.txt.contracts/ephemeral_account/src/events.rsandcontracts/sweep_controller/src/lib.rs).tools/sweep-signerCLI argument syntax againsttools/sweep-signer/src/main.rs.Risks considered
Edge cases handled
Issue references
Closes #999
Closes #1000
Closes #1009
Closes #1010