Skip to content

Signing Using Forge with Trezor Compatibility Fails #415

@susemeee

Description

@susemeee

Describe the bug
Signing transaction using OneKey Pro's trazor compatibility and Foundry script call fails with unexpected interaction request: Button

It seems there may be a compatibility issue between OneKey firmware and the signer-trezor crate (used by Foundry), particularly around multi-step interactive signing flows.

Firmware version and revision
OneKey Pro, FW 4.19.0, Bluetooth 2.3.3, Bootloader 2.8.3

Desktop/smartphone setup (please complete the following information):

  • Wallet software: Foundry Suite (forge, cast) 1.4.4-stable
  • OS: macOS ARM
  • Browser N/A

To Reproduce
Steps to reproduce the behavior:

  1. Run forge script with trezor support forge script ** --trezor using their latest stable version
  2. The wallet shows two prompts on-device; first passes, second fails after approval.

Expected behavior
The transaction should be signed and sent using forge script.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Originally this issue has been reported to Foundry and Trezor but both indicated it is likely not on their side.

foundry-rs/foundry#13490
trezor/trezor-firmware#6485

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions