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

Abierto
#56 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
66/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
markdown, rust

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
0
Forks
4
Merge medio
54 min
PR fusionados (30 d)
6

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Yormee-103/PayLoop

Todos los issues de Yormee-103/PayLoop

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.