Update transaction getters to optionally allow filtering by status
Track a map of nonce => queueId for each wallet
Add an endpoint to query transactions by nonce range
reset-nonce endpoint now syncs nonces after deleting them
PR-Codex overview
This PR focuses on enhancing transaction handling and pagination, updating nonce map functionality, and refining wallet operations.
Detailed summary
Improved transaction handling with pagination and status filtering
Updated nonce map functionality for better tracking and pruning
Refined wallet operations for backend wallets
The following files were skipped due to too many changes: src/db/wallets/nonceMap.ts, src/utils/env.ts, src/server/routes/backend-wallet/getTransactions.ts, src/server/routes/backend-wallet/getTransactionsByNonce.ts, src/db/wallets/walletNonce.ts
✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}
No breaking changes.
Changes:
nonce => queueId
for each walletreset-nonce
endpoint now syncs nonces after deleting themPR-Codex overview
This PR focuses on enhancing transaction handling and pagination, updating nonce map functionality, and refining wallet operations.
Detailed summary