Bug Bounty Report: remaining typos in natspec at 2.6.1 (wich/whitch/intefraces/suported/overriden)
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- solidity
- Lĩnh vực
- documentation
Hướng nghiên cứu
The typos sit in natspec comments in src/contracts/tokens/nf-token-enumerable.sol, nf-token-metadata.sol, utils/supports-interface.sol, ownership/ownable.sol and mocks/nf-token-metadata-enumerable-mock.sol. Run the grep command from the issue to confirm the locations, then check PR #302, which is already open against this issue, before starting. Done means every listed misspelling is corrected in comments only, with no code changes, and the grep returns nothing.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Found while reviewing src/contracts under the bug bounty program (latest release, @nibbstack/erc721 2.6.1). Typos are explicitly listed in the program scope.
Remaining misspellings in natspec/comments at tag 2.6.1:
| File | Line | Text | Should be |
|---|---|---|---|
src/contracts/tokens/nf-token-enumerable.sol |
151 | "Address from wich we want to remove the NFT" | which |
src/contracts/tokens/nf-token-enumerable.sol |
181 | "Address to wich we want to add the NFT" | which |
src/contracts/tokens/nf-token-metadata.sol |
83 | "an internal function that can be overriden" | overridden |
src/contracts/utils/supports-interface.sol |
14 | "Mapping of supported intefraces" | interfaces |
src/contracts/utils/supports-interface.sol |
27 | "which interfaces are suported by this contract" | supported |
src/contracts/ownership/ownable.sol |
5 | "authorization control whitch" | which |
src/contracts/mocks/nf-token-metadata-enumerable-mock.sol |
107, 123 | "from wich we want to remove" / "Address to wich we want to add" | which |
Reproduce with:
grep -rniE '\bwich\b|whitch|intefraces|suported|overriden' src/contracts
Suggested fix: a single pass with a spell checker over natspec blocks (ispell/aspell), as done previously in #252 for other files.
Tested against tag 2.6.1 (commit 198dec9).
- Ngôn ngữ chính
- Solidity
- Star
- 1k
- Fork
- 391
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của fulldecent/erc721
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
fulldecent/erc721#299 ·
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
fulldecent/erc721#293 · 1 reaction ·
-
Bug Bounty Report: Security Issue in ERC-721 Reference ImplementationCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 8/100
fulldecent/erc721#306 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
fulldecent/erc721#304 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
fulldecent/erc721#303 · 1 bình luận ·
Tất cả issue của fulldecent/erc721
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
juandresrodca/AdminForge#54 ·
-
hermes-queue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
chrisalunlloyd2-sudo/mindpalace#349 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
external
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
langchain-ai/docs#7524 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bugfix low-priority plugin:abstract plugin:leyline small-effort source:discussion
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
athola/claude-night-market#1132 ·