Escrow storage entries have no TTL extension and can be archived while funds are locked
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
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
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de DistinctCodes/ManageHub
-
bug contract soroban-contract
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
DistinctCodes/ManageHub#2029 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
backend contract documentation soroban-contract
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
DistinctCodes/ManageHub#2028 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Add an end-to-end local sandbox for contracts (standalone network, deploy, call) to the repo docsAbiertocontract documentation soroban-contract
Dificultad 3/5 1-2 días Aptitud para principiantes 76/100
DistinctCodes/ManageHub#2027 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
backend contract documentation NestJS soroban-contract
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
DistinctCodes/ManageHub#2026 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Contracts have no shared ABI/interface fixture used by both the Rust tests and the backend clientAbiertobackend contract enhancement NestJS soroban-contract
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
DistinctCodes/ManageHub#2025 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de DistinctCodes/ManageHub
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Automattic/data-liberation-agent#953 ·
Los mantenedores suelen responder en 1 día
-
README に GitHub の組織のバッジを足すAbiertodocumentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
funmary-app/funmary#399 ·
Los mantenedores suelen responder en 1 día
-
area:curator enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
CassioDalla/Scrinalia#150 ·
Los mantenedores suelen responder en 1 día
-
status: needs-triage v1-bug-bash
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
a2ui-project/a2ui#3533 ·
Los mantenedores suelen responder en 1 día
-
backend enhancement priority:P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
geolens-io/geolens#3310 ·
Los mantenedores suelen responder en 1 día