-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Motivation
We need a robust, shared store for per-user pending transactions in Redis so that multiple relay instances coordinate correctly
Description
Create a new class RedisPendingTransactionStorage that implements PendingTransactionStorage.
Backed by our existing redisClient, it must support:
- getList(address: string): Promise
- addTransaction(address: string, txHash: string): Promise
- removeTransaction(address: string, txHash: string): Promise
- removeAll(): Promise
Use Lua scripts or a Redis transaction to ensure atomic add/remove operations and prevent race conditions.
Add unit tests for each method
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request