Skip to content

Conversation

@arcoraven
Copy link
Contributor

@arcoraven arcoraven commented Dec 3, 2024

PR-Codex overview

This PR focuses on refactoring the nonce management for backend wallets by replacing the deleteAllNonces function with deleteNoncesForBackendWallets, and introduces a new route resetBackendWalletNoncesRoute for resetting nonces via a POST request.

Detailed summary

  • Deleted src/server/routes/backend-wallet/resetNonces.ts.
  • Renamed and modified deleteAllNonces to deleteNoncesForBackendWallets for better specificity.
  • Added resetBackendWalletNoncesRoute in src/server/routes/backend-wallet/reset-nonces.ts for handling nonce resets.
  • Introduced request and response schemas for the new route.
  • Implemented logic to delete and resync nonces for specified or all backend wallets.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@arcoraven arcoraven merged commit 789340a into main Dec 3, 2024
5 checks passed
@arcoraven arcoraven deleted the ph/resetNonce branch December 3, 2024 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants