feat: queue discovered deposit signatures in stable memory#165
Draft
feat: queue discovered deposit signatures in stable memory#165
Conversation
a140a23 to
dd314a6
Compare
4c08e30 to
876c4b0
Compare
When `getSignaturesForAddress` returns signatures for a monitored account, enqueue them in a stable BTreeMap instead of discarding them. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
876c4b0 to
513a08a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
StorableSignaturenewtype wrappingsolana_signature::Signaturewith a fixed-sizeStorableimpl (64 bytes)DISCOVERED_SIGNATURES: StableBTreeMap<(Account, StorableSignature), ()>(Memory ID 4) to queue all signatures returned bygetSignaturesForAddresscallsTODO(DEFI-2780)placeholder inpoll_accountwith code that inserts each discovered(account, signature)pair into the queueTest plan
cargo test -p cksol_minter)getSignaturesForAddressresponse🤖 Generated with Claude Code