Skip to content

Calling signAllTransactions with multiple transactions causes action to cancel #2270

@SWAPPAweb3

Description

@SWAPPAweb3

Describe the bug

A clear and concise description of what the bug is.

When signAllTransactions is called with multiple transaction argument, the transaction signing modal opens up but the console shows that the action has been cancelled. Interaction with the modal is no-op.

Steps to reproduce the behavior:

Here is my signAllTransactions wrapper:

const signAllTransactions = async (transactions: VersionedTransaction[]) => {
        const solanaWallet = new SolanaWallet(web3Auth.provider);
        const allSigned = await solanaWallet.signAllTransactions(transactions);

        return allSigned.map(signed => {
            const buffer = Buffer.from(signed, "base64");
            return VersionedTransaction.deserialize(buffer);
        });
    };
  • Connect to Solflare (Phantom or Backpack)
  • Send multiple transactions to signAllTransactions

Expected behavior

The transaction modal ought to be left open to allow users approve multiple transactions.

Screenshots

Image

Device Info (please complete the following information):

  • Device: Dell Latitude 7320
  • OS: Pop!_OS 22.04 LTS x86_64
  • Browser Chrome
  • Version 139.0.7258.138
  • Web3Auth Version (Modal) 10.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions