Feature request: simple option to fast-forward ledgers in --local mode
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Inizia tracciando il percorso di avvio di --local e il flusso esistente di ENABLE_CORE_MANUAL_CLOSE e /manualclose. Verifica come vengono avviati Horizon, RPC e friendbot nel container, quindi definisci un meccanismo di avanzamento che accetti N ledger e funzioni con lo stack locale. Il lavoro è completato quando gli utenti locali possono far avanzare rapidamente i ledger senza il flusso manuale in due fasi.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Quickstart is great for local development. It would be great to add a feature for advancing ledgers quickly.
What I'm trying to do
When testing against --local, the network starts at ledger 1, which doesn't look or behave much like testnet/mainnet (where ledger numbers are in the millions and time has visibly passed). I'd like a way to quickly fast-forward to a higher ledger number. Both for realistic UI testing and for exercising time-based contract logic without waiting a long time.
What I tried
I went down the ENABLE_CORE_MANUAL_CLOSE=true + curl /manualclose path. It works in principle but isn't really convenient:
- Throughput is heavily bottlenecked when horizon/rpc are also enabled (their captive cores fall behind and constantly catch up). To get reasonable speed I had to disable everything except core, burn ledgers, then restart with horizon/rpc. But that two-phase workflow hits other rough edges: friendbot autostarts and crashes when horizon is disabled, taking down the container.
- It's not obvious from the docs which env vars actually exist vs. don't. I tried things like
STELLAR_CORE_FLAGS,ENABLE_FRIENDBOT, etc. that turned out to be silently ignored. The set of supported env vars and flags also seems to change between image versions, so older tutorials, or responses on Discord point at things that no longer work.
What would be ideal
An endpoint to automatically advance by N ledgers
- Lingua principale
- Shell
- Stelle
- 224
- Fork
- 237
- Merge medio
- 1g 16m
- PR unite (30g)
- 8
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di stellar/quickstart
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 58/100
stellar/quickstart#923 · 2 commenti ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
stellar/quickstart#911 · 2 commenti ·
-
feature request
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
stellar/quickstart#907 · 1 commento ·
-
feature request
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
stellar/quickstart#906 · 3 commenti ·
-
feature request
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
stellar/quickstart#900 · 2 commenti ·
Tutte le issue di stellar/quickstart
Issue simili
-
package-update
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
bug needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
obra/superpowers#2394 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
CachyOS/cachyos-aur-derived#772 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
kristofdegrave/homeassistant-smart-charging#1413 ·
I maintainer di solito rispondono entro 1 giorno