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

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

Open
77ph opened this issue Jun 18, 2023 · 0 comments

Comments

@77ph
Copy link

77ph commented Jun 18, 2023

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant