Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

`tx update sequence-number next` fails when the transaction source is a muxed account

Đang mở Phù hợp với người mới
#2,774 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

@neimasilk-arch đang làm issue này rồi.

Từ ngày 3/10/2026.

  • #2793 của @neimasilk-arch — đang mở

Đá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
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
cli

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ả

bug
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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của stellar/stellar-cli

Tất cả issue của stellar/stellar-cli

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.