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

Safe-CLI Transactions Fail with Trezor Wallet

Đang mở
#511 5 bình luận 2 reaction 0 người được giao Xem trên GitHub

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
blockchain, cli

Hướng nghiên cứu

Start by reproducing the failure with load_trezor_cli_owners and tx-sign in tx-service mode, then try approve_hash in blockchain mode. Trace the Safe-CLI entry points for these commands and the Trezor interaction to identify why signing returns “Unexpected message” and why the account is not loaded. Done means both transaction signing and hash approval work with a Trezor wallet.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug SEV-4

I am trying to send transactions using the Safe-CLI with a Trezor wallet. The Trezor address is successfully imported via load_trezor_cli_owners, but signing transactions fails with the following error

HwDevice exception: Unexpected message

This occurs when running tx-sign in tx-service mode.

Additionally, when switching to blockchain mode, I encounter another issue when attempting to approve a hash:

Account 0x is not loaded

Steps to reproduce the behavior:

  1. Load a Trezor wallet into Safe-CLI:
    safe-cli load_trezor_cli_owners
    
  2. Attempt to sign a transaction in tx-service mode:
    safe-cli tx-sign <transaction>
    
  3. Observe the error:
    HwDevice exception: Unexpected message
    
  4. Switch to blockchain mode and try approving a hash:
    safe-cli approve_hash <hash> <sender>
    
  5. Observe the error:
    Account 0x00..1 is not loaded
    

The Safe-CLI should properly interact with the Trezor wallet to sign transactions without unexpected hardware errors.

Ngôn ngữ chính
Python
Star
281
Fork
111
Merge trung bình
1 ngày 20 giờ
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

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 safe-global/safe-cli

Tất cả issue của safe-global/safe-cli

Issue tương tự

Thêm issue về Python

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.