Bug Bounty Report: remaining typos in natspec at 2.6.1 (wich/whitch/intefraces/suported/overriden)

Đang mở
#301 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

@Jah-yee đang làm issue này rồi.

Từ ngày 11/10/2026.

  • #302 của @Jah-yee — đang mở

Đá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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của fulldecent/erc721

Tất cả issue của fulldecent/erc721

Issue tương tự

Thêm issue về Documentation

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.