Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
steveluscher opened this issue Mar 8, 2023 · 3 comments · Fixed by brave/brave-core#17553

Comments

@steveluscher
Copy link

steveluscher commented Mar 8, 2023

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.

@yrliou yrliou self-assigned this Mar 8, 2023
@yrliou yrliou added feature/web3/wallet Integrating Ethereum+ wallet support OS/Android Fixes related to Android browser functionality feature/web3/wallet/solana feature/web3/wallet/dapps feature/web3/wallet/core QA/Yes labels Mar 8, 2023
@yrliou yrliou added this to Web3 Mar 8, 2023
@yrliou yrliou moved this to Backlog in Web3 Mar 8, 2023
@yrliou yrliou added the priority/P3 The next thing for us to work on. It'll ride the trains. label Mar 8, 2023
@yrliou yrliou moved this from Backlog to In Progress in Web3 Mar 9, 2023
@yrliou yrliou moved this from In Progress to In Review in Web3 Mar 10, 2023
@github-project-automation github-project-automation bot moved this from In Review to Done in Web3 Mar 10, 2023
@brave-builds brave-builds added this to the 1.51.x - Nightly milestone Mar 10, 2023
@yrliou yrliou added OS/Android Fixes related to Android browser functionality QA/Test-Plan-Specified and removed OS/Android Fixes related to Android browser functionality labels Mar 14, 2023
@yrliou
Copy link
Member

yrliou commented Mar 14, 2023

See the test plan in the PR for easier testing steps without setting up a repo locally.

@kjozwiak
Copy link
Member

The above requires 1.49.124 or higher for 1.49.x verification 👍

@srirambv
Copy link
Contributor

Verification passed on Lenovo Tab with Android 12 running 1.49.126 x64 build

28955-Android.mp4

Verification passed on

Brave 1.49.126 Chromium: 111.0.5563.64 (Official Build) (64-bit)
Revision c710e93d5b63b7095afe8c2c17df34408078439d-refs/branch-heads/5563@{#995}
OS Linux
28955.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
5 participants