Skip to content

Conversation

@arcoraven
Copy link
Contributor

@arcoraven arcoraven commented Dec 4, 2024

PR-Codex overview

This PR introduces a new route for canceling nonces in the backend wallet, enhancing nonce management. It also includes adjustments to existing code for improved functionality and consistency.

Detailed summary

  • Changed responseBodySchema to a constant in src/server/routes/transaction/getAll.ts.
  • Updated Redis key pattern in src/worker/tasks/nonceResyncWorker.ts.
  • Registered cancelBackendWalletNoncesRoute in src/server/routes/index.ts.
  • Implemented cancelBackendWalletNoncesRoute in src/server/routes/backend-wallet/cancel-nonces.ts with complete schema and handler logic.

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

*/
const handler: Processor<any, void, string> = async (job: Job<string>) => {
const sentNoncesKeys = await redis.keys("nonce-sent*");
const sentNoncesKeys = await redis.keys("nonce-sent:*");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo but doesn't actually change behavior much since the previous command should have worked too.

@arcoraven arcoraven merged commit a52a717 into main Dec 4, 2024
5 checks passed
@arcoraven arcoraven deleted the ph/cancelNonce branch December 4, 2024 08:22
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