Match transaction exception reasons in state and blockchain tests
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- cpp
- 領域
- blockchain, testing
調査の方向性
Start by reading the statetest and blockchaintest transaction-rejection paths, then inspect how evmone's tx ErrorCode values relate to EEST TransactionException.* constants. Add checks that compare the expected transaction exception reason in both runners while preserving geth-compatible messages used by t8n/state-test output. Done means a transaction rejected for the wrong reason fails these tests.
索引モデルが issue の本文から書いたものです。
説明
Neither test runner verifies the transaction rejection reason against the fixture's expectException:
- statetest:
expectExceptionis reduced to a bool at load (o.exception = j.contains("expectException")); the runner only asserts the tx was rejected and the state root matches. - blockchaintest: an invalid block caused by a tx just
continues on any rejection (if (!res.rejected.empty()) continue;) without comparing the reason.
So a transaction rejected for the wrong reason still passes. We now match block-level reasons (#1556); we should do the same for TransactionException.*.
Needs a mapping from evmone's tx ErrorCode (plain geth-style messages) to EEST TransactionException.* constants — those messages can't simply be renamed since t8n/state-test output relies on the geth-compatible form.
🤖 Generated with Claude Code
- 主要言語
- C++
- スター
- 979
- フォーク
- 340
- 平均マージ
- 12時間 16分
- マージ済み PR(30日)
- 25
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ipsilon/evmone のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 71/100
ROCm/rocm-libraries#16108 ·
メンテナーはふだん 2 日以内に返信
-
asr pass bug intrinsic low priority wrong result
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
👀 needs triage enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
rerun-io/rerun#13021 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 2 日以内に返信
-
audit-reference-check
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信