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

オープン
#56 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
66/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
markdown, rust
領域
documentation

調査の方向性

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.

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

説明

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.

主要言語
TypeScript
スター
0
フォーク
4
平均マージ
54分
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Yormee-103/PayLoop のほかの issue

Yormee-103/PayLoop の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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