Skip to content

Conversation

@lijamie98
Copy link
Contributor

Description

  • Merge 4.1.3 to main

Context

  • Post release maintenance.

…nt in Sep24 deposit transaction (#1844)

### Description

- Fix the InternalException thrown from the `notify_onchain_fund_sent`
in Sep24 deposit transaction

### Context

- After submitting Sep24 deposit transaction from demo wallet, anchor
platform keeps throwing exceptions. This is caused by the reference
server calling the `notify_onchain_fund_sent` after the transaction is
in `completed` status.

### Testing

- `./gradlew test`
…sed (#1845)

### Description

- Fix observer not updating `ap_payment_observer_latest_block_read` and
`ap_payment_observer_latest_block_processed`

### Context

- When switching from RPC `getTransaction` to `getEvent`, the events are
filtered with the distribution account. When no payment is processed,
the ledger count will not upate.
### Description

- Merge `4.1.1` to `develop`

### Context

- Post release maintenance.
### Description

- While we are deprecating the custody and no partners are using the
feature, we may disable the tests.
- Remove CodeQL since we have Cursor installed.

### Context

- Stablizing the tests.
### Description

- The Sep24 `DepositService` calls RPC right after submission of the
Stellar transaction. Calling `notify_onchain_funds_sent` while the
transaction is still in pending state may causes the reference server to
enter strange state and kept retrying.
- Remove the unnecessary RPC retries when we wait for transaction
SUCCESS status.


### Context

- Bug fix


<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Waits for the sent Stellar transaction to succeed before notifying RPC
and drops the previous flow-based retry logic.
> 
> - **Backend (SEP-24 `DepositService`)**:
> - Add `waitForValidTransaction` to poll `paymentClient.getTransaction`
until `SUCCESS` (or fail), with optional timeout.
> - Use confirmed `txHash` result post-send, then finalize via
`notify_onchain_funds_sent`; remove immediate finalize after send.
> - Remove `flow`/`retryWhen` RPC retry loop; simplify to single
`rpcAction` call.
> - Minor: add `withTimeout` and `GetTransactionResponse` imports;
capture `txHash` outside retry block.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
4976a73. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
@lijamie98 lijamie98 closed this Nov 5, 2025
@lijamie98 lijamie98 deleted the release/4.1.3 branch November 5, 2025 17:33
@lijamie98 lijamie98 reopened this Nov 5, 2025
@lijamie98 lijamie98 closed this Nov 5, 2025
@lijamie98 lijamie98 reopened this Nov 5, 2025
@lijamie98 lijamie98 closed this Nov 5, 2025
@lijamie98 lijamie98 restored the release/4.1.3 branch November 5, 2025 17:44
@lijamie98 lijamie98 deleted the release/4.1.3 branch November 5, 2025 19:32
@lijamie98 lijamie98 restored the release/4.1.3 branch November 5, 2025 19:33
@lijamie98 lijamie98 deleted the release/4.1.3 branch November 5, 2025 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants