Readiness succeeds before a valid eth_chainId when no expected chain ID is supplied
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 20/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- typescript
調査の方向性
Start with Server.start() and the readiness tests described in the issue. Check how the eth_chainId response is validated before the optional expected-chain comparison, then run the readiness tests with invalid-then-valid, invalid-until-timeout, valid-first, and explicit mismatch cases. Done means invalid responses do not signal readiness, while valid responses and the existing mismatch behavior work as described.
索引モデルが issue の本文から書いたものです。
説明
At 2c4f686, Server.start() with a configured external URL and no expected chain ID reports readiness after any HTTP-200 string result for eth_chainId. That includes a warm-up response that isn't a chain ID. EIP-695 specifies a hexadecimal integer string.
I used a localhost-only fixture which returns "initializing" on its first probe, then "0x539". The real Prool server returns from start() after one probe. I expected it to wait for the second response. All eight existing readiness tests pass when run separately from the file's unrelated Anvil setup.
Would it make sense to validate the returned chain ID independently of comparing it with an expected chain? A small follow-up would cover invalid then valid, invalid until timeout, and the existing explicit chain-ID mismatch behavior without changing instance lifecycle behavior.
Readiness controls
I extended the localhost-only fixture to cover a permanently invalid response and a valid first response. On 2c4f686, the valid-first control succeeds with one probe, but all three invalid-then-valid variants stop after the invalid probe, and the invalid-only case resolves instead of timing out. With a local hexadecimal result check before the optional expected-chain comparison, all 13 tests passed (eight existing readiness cases and five new cases). No live RPC endpoint or Anvil process was used.
- 主要言語
- TypeScript
- スター
- 142
- フォーク
- 28
- 平均マージ
- 4時間 15分
- マージ済み PR(30日)
- 8
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
wevm/prool のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
Unused [email protected] dependency adds 12 advisories to consumers' audits対応中かも @selimaytac が 58 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
anvil: silent footgun対応中かも @chrisx9z が 177 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
Migrate from execa to tinyexec対応中かも @chrisx9z が 187 日前に担当しました。 オープンM: Good First Issue
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
tempo: default datadir is dropped when starting process instances対応中かも @Osraka が 29 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
Resources: Update work of fuzhou対応中かも @rmt-svc が今日担当しました。 オープンresources
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
railmapgen/rmp-gallery#4245 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
mike-north/AgentMonitors#717 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 60/100
slavakurilyak/awesome-ai-agents#1100 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
navikt/syfo-oppfolgingsplan-frontend#1206 ·
メンテナーはふだん 1 日以内に返信
-
bug:new
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
callstackincubator/simlock#1986 ·
メンテナーはふだん 1 日以内に返信