Skip to content

Safe-CLI Transactions Fail with Trezor Wallet #511

Description

@tatiesmars

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    SEV-4bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions