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

Aperta
#56 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
66/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
markdown, rust
Ambito
documentation

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
0
Fork
4
Merge medio
54m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Yormee-103/PayLoop

Tutte le issue di Yormee-103/PayLoop

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.