Skip to content

anchor test: Transaction simulation failed: Error processing Instruction 0: Program failed to complete #71

@77ph

Description

@77ph
git clone https://github.com/coral-xyz/multisig
cd multisig/
cargo install --git https://github.com/coral-xyz/anchor --tag v0.28.0 anchor-cli --locked
sudo apt-get update && sudo apt-get upgrade && sudo apt-get install -y pkg-config build-essential libudev-dev
anchor --version
anchor-cli 0.28.0

anchor build
anchor test                
    Finished release [optimized] target(s) in 0.15s

Found a 'test' script in the Anchor.toml. Running it as a test suite!

Running test suite: "/home/andrey/valory/multisig/Anchor.toml"



  multisig
    1) Tests the multisig program
    ✔ Assert Unique Owners (62ms)


  1 passing (1s)
  1 failing

  1) multisig
       Tests the multisig program:
     Error: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: Program failed to complete
      at Connection.sendEncodedTransaction (node_modules/@solana/web3.js/lib/index.cjs.js:7339:13)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
      at async Connection.sendRawTransaction (node_modules/@solana/web3.js/lib/index.cjs.js:7300:20)
      at async sendAndConfirmRawTransaction (node_modules/@project-serum/anchor/dist/cjs/provider.js:172:23)
      at async AnchorProvider.sendAndConfirm (node_modules/@project-serum/anchor/dist/cjs/provider.js:88:20)
      at async Object.rpc [as executeTransaction] (node_modules/@project-serum/anchor/dist/cjs/program/namespace/rpc.js:15:24)
      at async Context.<anonymous> (tests/multisig.js:104:5)

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