Update docs for the new contract functions, storage key and test count

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

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
66/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ệ
markdown, rust
Lĩnh vực
documentation

Hướng nghiên cứu

Start with the public functions and storage key in lib.rs under contracts/invoice, then compare them with the tables in contracts/invoice/README.md. Add invoice_count, get_invoice_range, get_client_history and ClientHistory(Address), update the scaling paragraph and the test counts in docs/ARCHITECTURE.md and CONTRIBUTING.md using cargo test output, and tidy the root README.md intro. Done when every public function and key in lib.rs appears in the docs and the counts match. The issue suggests waiting for #55 so the semantics are final.

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

Mô tả

difficulty: beginner documentation good first issue help wanted

Difficulty: Beginner

Problem

PR #42 added invoice_count, get_invoice_range, get_client_history and a ClientHistory(Address) storage key, but contracts/invoice/README.md (entrypoint table, storage table, "Known scaling limitation"), docs/ARCHITECTURE.md and CONTRIBUTING.md do not mention them and still say 18 tests (there are now 23). The root README intro also contains a duplicated tagline and a stray "Topics:" block.

Why it matters

The contract README is the integrator reference. Right now it is incomplete.

Scope of work

  • Add the three functions and the new key to the entrypoint and storage tables.
  • Update the scaling-limitation paragraph.
  • Fix the test counts.
  • Tidy the README intro.
  • State that the new functions are not on the deployed testnet contract yet.

Acceptance criteria

  • Every public function and storage key in lib.rs appears in the docs.
  • Test counts match cargo test.
  • The README intro has no duplicated text.

Relevant files

  • contracts/invoice/README.md, docs/ARCHITECTURE.md, CONTRIBUTING.md, README.md

Dependencies

Best done after #55 so the final semantics are documented.

Maintainer discussion needed?

No.

Ngôn ngữ chính
TypeScript
Star
0
Fork
4
Merge trung bình
54 phút
Pull request đã merge (30 ngày)
6

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 Yormee-103/PayLoop

Tất cả issue của Yormee-103/PayLoop

Issue tương tự

Thêm issue về TypeScript

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.