`tx update sequence-number next` fails when the transaction source is a muxed account
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
- #2793 de @neimasilk-arch — cerrado sin fusionar
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 76/100
Línea de trabajo
Comienza con el comando stellar tx update sequence-number next y reproduce el fallo utilizando la transacción de muxed-account mostrada en el issue. Sigue cómo se decodifica el origen de la transacción y cómo se obtiene el número de secuencia de la cuenta subyacente; después, verifica que el comando funciona correctamente tanto para orígenes muxed como regulares y conserva la salida de transacción esperada.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What version are you using?
stellar-cli 28.1.0 (d0b26d9, built from main).
What did you do?
I built a payment with a muxed (M…) source account and asked the CLI to fill in the next sequence number:
Setup transaction:
$ stellar network use testnet
$ stellar keys generate alice --fund
$ stellar keys generate bob --fund
$ stellar keys address alice
GD2B52NO66LDB7V745JLNTTWNHBSQJDY3GODG36E6JLUX4F5MMVPSB4H
$ alice_m123=$(stellar keys address alice | stellar-strkey decode | jq '{muxed_account_ed25519: {ed25519: .public_key_ed25519, id: 123}}' | stellar-strkey encode)
$ echo $alice_m123
MD2B52NO66LDB7V745JLNTTWNHBSQJDY3GODG36E6JLUX4F5MMVPSAAAAAAAAAAAPPTC4
$ tx=$(stellar tx new payment --source $alice_m123 --destination bob --amount 1 --build-only)
$ echo $tx
AAAAAgAAAQAAAAAAAAAAe/Qe6a73ljD+v+dSts52acMoJHjZnDNvxPJXS/C9Yyr5AAAAZABLt2UAAAABAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAAzzHaMX7aCe5rN/dBo5nmtZm9AZNqta0rENosve8iCk8AAAAAAAAAAAAAAAEAAAAAAAAAAA==
Attempt to update its sequence number:
$ echo $tx | stellar tx update sequence-number next
What did you expect to see?
The transaction updated with the next sequence number of the underlying G… account, the same as when the source is alice. For example:
$ stellar tx new payment --source alice --destination bob --amount 1 --build-only \
| stellar tx update sequence-number next
AAAAAgAAAAD0Humu95Yw/r/nUrbOdmnDKCR42Zwzb8TyV0vwvWMq+QAAAGQAS7dlAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAM8x2jF+2gnuazf3QaOZ5rWZvQGTarWtKxDaLL3vIgpPAAAAAAAAAAAAAAABAAAAAAAAAAA=
What did you see instead?
Fails when the tx source is a muxed:
$ stellar tx new payment --source $alice_m123 --destination bob --amount 1 --build-only \
| stellar tx update sequence-number next
❌ error: the strkey decodes to more bytes than allowed
- Lenguaje dominante
- Rust
- Estrellas
- 128
- Forks
- 147
- Merge medio
- 2 d 12 h
- PR fusionados (30 d)
- 35
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la 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 stellar/stellar-cli
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
stellar/stellar-cli#2806 ·
Los mantenedores suelen responder en 1 día
-
contract extend panics on single-change resultMetaXdr (index out of bounds at extend.rs:306)Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
stellar/stellar-cli#2796 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
stellar/stellar-cli#2781 ·
Los mantenedores suelen responder en 1 día
-
Display the full authorization tree before signing auth entriesPosiblemente ocupada @DeadZen la tomó hace 16 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
stellar/stellar-cli#2779 ·
Los mantenedores suelen responder en 1 día
-
`tx edit` fails on transaction XDR that is wrapped across multiple linesPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
stellar/stellar-cli#2773 ·
Los mantenedores suelen responder en 1 día
Todos los issues de stellar/stellar-cli
Issues similares
-
Make major, minor, and makedev safe on solarish targetsPosiblemente ocupada @xtqqczze la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Proxy ignores l5d-retry-http and l5d-retry-grpc conditions that follow a comma and spacePosiblemente ocupada @RaphaelFakhri la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 3 días
-
sncast panics when decoding a `u384` valuePosiblemente ocupada @RaphaelFakhri la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
foundry-rs/starknet-foundry#4635 ·
Los mantenedores suelen responder en 3 días
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
crmne/omastats#31 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
area:desktop priority:p2 type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día