test: add Solana test validator test for automatic deposit flow#181
Draft
lpahlavi wants to merge 1 commit intolpahlavi/defi-2780-mint-automatic-depositsfrom
Draft
Conversation
e7c9164 to
41d74d7
Compare
764c2c0 to
0d23e9f
Compare
41d74d7 to
d76306d
Compare
0d23e9f to
65c11e1
Compare
d76306d to
9cc29cd
Compare
65c11e1 to
b01b52d
Compare
9cc29cd to
e4024f6
Compare
b01b52d to
68f920d
Compare
Adds `should_automatically_deposit_and_mint` to the solana-test-validator integration test suite, covering the full end-to-end automatic deposit flow: 1. Register an account via `update_balance` 2. Send SOL to the deposit address on the local validator 3. Advance simulated time to trigger `poll_monitored_addresses`, `process_pending_signatures`, and `mint_automatic_deposits` 4. Verify the ckSOL balance equals deposit_amount − automated_deposit_fee Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
e4024f6 to
d3c71f7
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
should_automatically_deposit_and_minttointegration_tests/tests/solana_test_validator.rssolana-test-validator:update_balancepoll_monitored_addresses, wait forStoppedMonitoringAccounteventprocess_pending_signatures, wait forAcceptedDeposit { source: Automatic }eventmint_automatic_deposits, wait for the ckSOL balance to appeardeposit_amount − automated_deposit_fee🤖 Generated with Claude Code