[ISSUE] Unreliable Transaction Polling in verifyTx

オープン
#67 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

@Ghostofficial141 がすでに取り組んでいます。

2026年1月27日 から。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
javascript

調査の方向性

Start at src/djed/tradeUtils.js around line 140 and read verifyTx to see how the current receipt check handles pending transactions. Reproduce with a transaction whose block time exceeds five seconds, then implement receipt polling with a timeout of about 60 seconds. Done means the function waits for the receipt or reaches the timeout without resolving early.

索引モデルが issue の本文から書いたものです。

説明

Description:
The verifyTx function uses a single setTimeout of 5 seconds to check for a transaction receipt.

How to Reproduce:
Submit a transaction on a congested network or a testnet (like Sepolia) with block times >5 seconds.

Actual Behaviour:
The function resolves before the transaction is actually processed, returning a null receipt or failing.

Expected Behaviour:
Implement an exponential backoff or a polling loop that checks for the receipt until a timeout (e.g., 60s) is reached.

Location: StablePay/djed-sdk/src/djed/tradeUtils.js line 140

主要言語
JavaScript
スター
16
フォーク
29
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

StabilityNexus/StablePay のほかの issue

StabilityNexus/StablePay の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。