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

Escrow storage entries have no TTL extension and can be archived while funds are locked

Abierto
#2,002 3 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
1-2 días
Aptitud para principiantes
68/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
next.js, postgresql, typescript

Línea de trabajo

Start by locating the DataKey::Escrow(id) handling in the create, release, refund, and get_status flows, then inspect how the ledger TTL and instance TTL are configured. Use the existing env.ledger().with_mut(...) test pattern to advance beyond the default persistent TTL. Done means an escrow can still be read and released after that advancement, with TTL behavior covered for the affected operations.

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

Descripción

bug contract soroban-contract Stellar Wave

Problem

create, release, refund and get_status read and write DataKey::Escrow(id) in persistent storage but never call extend_ttl. Persistent entries expire (and are archived) after the ledger TTL; a long-term escrow (months or a year) that isn't touched can become unreadable until restored, and a release would then fail.

Proposed change

Extend the entry TTL on create and on every read/write to a configured threshold/extension (for example about 30 days plus the escrow's remaining term), extend the instance TTL too, and test with env.ledger().with_mut(...) advancing past the default TTL.

Acceptance criteria

  • An escrow remains readable and releasable after the ledger advances beyond the default persistent TTL.
Lenguaje dominante
TypeScript
Estrellas
16
Forks
225
Merge medio
10 h 53 min
PR fusionados (30 d)
66

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.