Closed farhanW3 closed 3 months ago
~added a comment, also it would be good to convert recycledNonces
to a set. Because there is another source now where we push to recycledNonces
, and we do this non-atomically, having it be a set would be useful.~
done
Added
nonceResyncQueue
&nonceResyncWorker
.New flows:
sentnonce:<wallet>:chain
sentnonce:<wallet>:chain
errored
statenonceResync
cron :with this we catch all missing nonce
PR-Codex overview
This PR focuses on implementing a
NonceResyncWorker
to periodically resync nonces for wallets, improving nonce management in the system.Detailed summary
NonceResyncWorker
to periodically check and recycle missing nonces for wallets.sentNoncesKey
,addSentNonce
,removeSentNonce
, andisSentNonce
functions for managing sent nonces.