Skip to content

Wallet signing UI does not appear when provided a partially signed Solana transaction with a different fee payer #28955

Closed
brave/brave-core
#17553

Description

Description

@mcintyre94 and @yamijuan encountered a failure of the signing UI to appear when a Solana transaction provided is partially signed (eg. because someone other than the identity wants to act as a the fee payer).

Steps to Reproduce

From @mcintyre94:

I've been able to repro this issue with a slightly modified version of our solana-pay-scaffold: https://github.com/mcintyre94/solana-pay-scaffold (change-fee-payer branch)

To test it, copy .env.example to .env, put any private key with devnet SOL in as WALLET_PRIVATE_KEY, yarn, yarn dev. Click connect wallet (use a different one to the .env one) and then send with wallet on the transaction request page (localhost:3000/)

The main branch uses a simple transaction with no other signers and works correctly in Brave, the change-fee-payer branch has the same issue reported here

I've also tested the window.solana.signAndSendTransaction() and the behaviour is exactly the same

Actual result:

Wallet extension opens but no signing UI appears.

Expected result:

Signing UI should appear

Reproduces how often:

Always.

Brave version (brave://version info)

Brave 1.48.171 Chromium: 110.0.5481.177 (Official Build) (arm64)
Revision f34f7ab2d4ca4ad498ef42aeba4f4eb2c1392d63-refs/branch-heads/5481@{#1239}
OS macOS Version 13.2.1 (Build 22D68)

Version/Channel Information:

Untested.

Other Additional Information:

None.

Miscellaneous Information:

None.

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

Metadata

Assignees

Type

No type

Projects

  • Status

    Done

Relationships

None yet

Development

No branches or pull requests

Issue actions