Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Safe-CLI Transactions Fail with Trezor Wallet

Aperta
#511 5 commenti 2 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
blockchain, cli

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
281
Fork
111
Merge medio
3g 18h
PR unite (30g)
14

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di safe-global/safe-cli

Tutte le issue di safe-global/safe-cli

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.