CodeChain-io / CodeChain-io/foundry

The check_enough_votes method returns an awkward error

Đang mở
#78 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
consensus
Ngôn ngữ chính
Rust
Star
36
Fork
11
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
rust
Lĩnh vực
blockchain
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.