Skip to content

fix(soroban): use a dedicated SOROBAN_RPC_TIMEOUT_MS in src/clients/soroban.client.ts #1213

Open

Description

@lmduy2612

Problem

In src/clients/soroban.client.ts, defaultPostJson currently reuses envConfig.DB_QUERY_TIMEOUT_MS for outbound Soroban JSON-RPC HTTP calls:

const timeout = setTimeout(
   () => controller.abort(),
   envConfig.DB_QUERY_TIMEOUT_MS
);

Database query timeouts and Soroban RPC simulation/submission latencies have different operational profiles, so tightening DB_QUERY_TIMEOUT_MS for Postgres queries can prematurely abort simulateTransaction or sendTransaction RPC calls.

Proposed Fix

Add a dedicated SOROBAN_RPC_TIMEOUT_MS (defaulting to envConfig.DB_QUERY_TIMEOUT_MS or 10000 ms) in envConfig and wire defaultPostJson to use it.

Activity

  1. ranjeetprabhatedu-dotcom commented on Nov 17, 2026

    @ranjeetprabhatedu-dotcom

    Hello maintainers,

    I reviewed "fix(soroban): use a dedicated SOROBAN_RPC_TIMEOUT_MS in src/clients/soroban.client.ts" and would like to work on this.

    I have reviewed the problem description and acceptance criteria for this issue. I have a clear, tested implementation ready with defensive error handling and 100% green CI proof.

    I will deliver a clean, well-tested, and production-ready PR promptly upon assignment. Kindly assign this issue to me.

    Thank you!

  2. added
    Stellar Wave
    on Nov 20, 2026
  3. Peaostrel commented on Nov 20, 2026

    @Peaostrel

    @Peaostrel has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

    i can handle this quickly

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Peaostrel to this issue.

  4. Peolite001 commented on Nov 20, 2026

    @Peolite001

    @Peolite001 has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

    I would love to work on this issue. Kindly assign me

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Peolite001 to this issue.

  5. OxNova commented on Nov 20, 2026

    @OxNova

    @OxNova has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

    I’ve reviewed the issue from both the requirements and implementation perspective. I’d like to take ownership of it and deliver a solution that is robust, testable, and appropriately scoped to the problem

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @OxNova to this issue.

  6. drips-wave commented on Nov 20, 2026

    @drips-wave

    Congratulations, @OxNova! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.

    🧑‍💻 @OxNova: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  7. OxNova commented on Nov 20, 2026

    @OxNova

    Updated issue #1213. Soroban RPC requests now use dedicated SOROBAN_RPC_TIMEOUT_MS configuration rather than the database query timeout. Please review the focused diff and CI results. PR: #1254

  8. added a commit that references this issue on Nov 23, 2026
    6ccecff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar Wave

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions