Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Escrow create accepts payer == beneficiary and the id-reuse rule is undocumented

Abierto
#2,003 6 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@KuchiMercy ya está trabajando en esto.

Desde el 18/10/2026.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
68/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
postgresql, typescript

Línea de trabajo

Start by locating the escrow create implementation and its existing has(&key) duplicate-id check. Add validation so payer == beneficiary returns InvalidParties, then add tests for identical parties and document in the README that IDs remain single-use for the life of the contract. Run the escrow test suite and verify the README rule.

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

Descripción

bug contract soroban-contract Stellar Wave

Problem

create accepts payer == beneficiary, which produces an escrow where one party can release or refund at will, and the duplicate-id check only tests has(&key). That is correct for id reuse today, but the rules aren't documented (an id that was Released can never be reused, which affects backend id derivation).

Proposed change

Reject payer == beneficiary with a new InvalidParties error, document the id uniqueness rule and retention in the README, and add tests for both cases.

Acceptance criteria

  • create with identical payer and beneficiary returns the new error.
  • README states that ids are single-use for the life of the contract.
Lenguaje dominante
TypeScript
Estrellas
16
Forks
225
Merge medio
8 h 4 min
PR fusionados (30 d)
61

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

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 DistinctCodes/ManageHub

Todos los issues de DistinctCodes/ManageHub

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.