Skip to content

unexpected interaction request: Button when creating a contract with --trezor #14200

@mpeyfuss

Description

@mpeyfuss

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

1.5.1-stable

What version of Foundryup are you on?

1.6.1

What command(s) is the bug in?

forge create / forge script

Operating System

macOS (Apple Silicon)

Describe the bug

When using Foundry with the --trezor flag to deploy a contract, run a script, or send a transaction request, I get an error message on the CLI of unexpected interaction request: Button.

This causes the transaction confirmation to reset on the trezor. I can't actually get through to signing the transaction because it keeps resetting.

I don't get this issue when sending transactions through Rabby on the browser.

Steps to reproduce the behavior:

  • Clone the foundry starter repo to deploy the Counter contract on Sepolia testnet.
  • Run forge create src/Counter.sol:Counter --rpc-url https://ethereum-sepolia-rpc.publicnode.com --trezor --broadcast
  • Try to sign the transaction
  • See error

I've submitted a report to trezor here, but wondering if anyone else can replicate.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions