Squads-Protocol / squads-mpl

Squads Multisig Program Library
GNU Affero General Public License v3.0
83 stars 27 forks source link

trying to run test but I got an error #53

Closed romeo4934 closed 3 weeks ago

romeo4934 commented 1 month ago

I am trying to run the test by doing

anchor test

but I got an error

  0 passing (6s)
  7 pending
  15 failing

  1) Programs
       SMPL, Program Manager, & Roles
         SMPL Basic functionality
           Create Multisig:
     Error: Simulation failed. 
Message: Transaction simulation failed: Error processing Instruction 0: Program failed to complete. 
Logs: 
[
  "Program BQzL8jzPdU5o89uSYAyiySK1dAfwdejCy1sChXF5JvtF invoke [1]",
  "Program log: Instruction: Create",
  "Program BQzL8jzPdU5o89uSYAyiySK1dAfwdejCy1sChXF5JvtF consumed 7549 of 200000 compute units",
  "Program BQzL8jzPdU5o89uSYAyiySK1dAfwdejCy1sChXF5JvtF failed: Access violation in unknown section at address 0xffffffffffffffff of size 32"

any help ?

romeo4934 commented 1 month ago

I found my way: It needs be Solana CLI 1.14 Here is my cargo files

[package]
name = "squads-mpl"
version = "1.3.1"
description = "Squads Multisig Program Library"
authors = ["Sean Lars Ganser <sean@sqds.io>", "Bastien Guillaumat <bastien@sqds.io>"]
homepage = "https://squads.so"
repository = "https://github.com/squads-dapp/squads-mpl"
edition = "2018"
keywords = ["squads", "solana", "program", "smart-contract", "multisig"]
readme = "README.md"
license = "AGPL-3.0-or-later"
documentation = "https://github.com/squads-protocol/squads-mpl"

[lib]
crate-type = ["cdylib", "lib"]
name = "squads_mpl"

[features]
no-entrypoint = []
no-idl = []
no-log-ix-name = []
cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.26.0"
default-env = "0.1.1"
hex = "0.3.1"
solana-security-txt = "1.0.1"
solana-program = "<1.14.24"
regex = "=1.9.6"
cc = "=1.0.79"
jobserver = "=0.1.25"
toml_datetime = "=0.6.1"
winnow = "=0.4.0"