`tx update sequence-number next` fails when the transaction source is a muxed account
Maintainer thường phản hồi trong vòng 2 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 76/100
Hướng nghiên cứu
Bắt đầu với lệnh stellar tx update sequence-number next và tái hiện lỗi bằng giao dịch muxed-account được hiển thị trong issue. Theo dõi cách nguồn của giao dịch được giải mã và cách số thứ tự của tài khoản bên dưới được lấy về, sau đó xác minh rằng lệnh thành công với cả nguồn muxed và nguồn thông thường, đồng thời giữ nguyên đầu ra giao dịch như mong đợi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Rust
- Star
- 123
- Fork
- 147
- Merge trung bình
- 3 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 39
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của stellar/stellar-cli
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
stellar/stellar-cli#2781 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Display the full authorization tree before signing auth entriesCó thể đã có người làm @DeadZen đã nhận 3 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
stellar/stellar-cli#2779 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
`tx edit` fails on transaction XDR that is wrapped across multiple linesCó thể đã có người làm @neimasilk-arch đã nhận 3 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
stellar/stellar-cli#2773 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
`tx new liquidity-pool-deposit`/`-withdraw` reject the hex pool ID supported on other commandsĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
stellar/stellar-cli#2770 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
stellar/stellar-cli#2753 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của stellar/stellar-cli
Issue tương tự
-
feature request good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
TabularisDB/tabularis#853 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
andrewdavidmackenzie/jonesy#267 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 4 ngày
-
`future_into_py` loses the original panic messageCó thể đã có người làm @Danipulok đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
PyO3/pyo3-async-runtimes#91 ·
-
Signals (Failure Detector): a tool call and its own execution are reported as a repeated callĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày