CodeChain-io / CodeChain-io/foundry

The check_enough_votes method returns an awkward error

オープン
#78 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
consensus
主要言語
Rust
スター
36
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

説明

In the documentation the `EngineError::BadSealFieldSize` is stated as "Seal field has an unexpected size". However, the method `check_enough_votes` returns an error of this type when the collected votes do not exceed the threshold.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by locating check_enough_votes and the definition and documentation for EngineError::BadSealFieldSize. Trace the insufficient-votes path and existing error tests; done means that path reports an error whose meaning matches the documentation, with coverage for the mismatch.

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

評価

技術スタック
rust
領域
blockchain
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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