Hey i got an issue useing anchor 0.31.0 and clockwork 2.0.19.
These are my dependencies:
[dependencies]
anchor-lang = { version = "0.31.0", features = ["idl-build"] }
anchor-spl = "0.31.0"
clockwork-sdk = "2.0.19"
And this is the error i get:
error: failed to select a version for solana-program.
... required by package solana-zk-sdk v2.1.0
... which satisfies dependency solana-zk-sdk = "^2.1.0" of package spl-token-2022 v6.0.0
... which satisfies dependency spl-token-2022 = "^6" of package anchor-spl v0.31.0
... which satisfies dependency anchor-spl = "^0.31.0" of package test-token-extension v0.1.0 (/home/tiqan/WORKSPACE/Solana/test-token-extension/programs/test-token-extension)
versions that meet the requirements =2.1.0 are: 2.1.0
all possible versions conflict with previously selected packages.
previously selected package solana-program v2.2.1
... which satisfies dependency solana-program = "^2.1.0" of package spl-associated-token-account v6.0.0
... which satisfies dependency spl-associated-token-account = "^6" of package anchor-spl v0.31.0
... which satisfies dependency anchor-spl = "^0.31.0" of package test-token-extension v0.1.0 (/home/tiqan/WORKSPACE/Solana/test-token-extension/programs/test-token-extension)
failed to select a version for solana-program which could resolve this conflict
Hey i got an issue useing anchor 0.31.0 and clockwork 2.0.19.
These are my dependencies:
[dependencies]
anchor-lang = { version = "0.31.0", features = ["idl-build"] }
anchor-spl = "0.31.0"
clockwork-sdk = "2.0.19"
And this is the error i get:
error: failed to select a version for
solana-program.... required by package
solana-zk-sdk v2.1.0... which satisfies dependency
solana-zk-sdk = "^2.1.0"of packagespl-token-2022 v6.0.0... which satisfies dependency
spl-token-2022 = "^6"of packageanchor-spl v0.31.0... which satisfies dependency
anchor-spl = "^0.31.0"of packagetest-token-extension v0.1.0 (/home/tiqan/WORKSPACE/Solana/test-token-extension/programs/test-token-extension)versions that meet the requirements
=2.1.0are: 2.1.0all possible versions conflict with previously selected packages.
previously selected package
solana-program v2.2.1... which satisfies dependency
solana-program = "^2.1.0"of packagespl-associated-token-account v6.0.0... which satisfies dependency
spl-associated-token-account = "^6"of packageanchor-spl v0.31.0... which satisfies dependency
anchor-spl = "^0.31.0"of packagetest-token-extension v0.1.0 (/home/tiqan/WORKSPACE/Solana/test-token-extension/programs/test-token-extension)failed to select a version for
solana-programwhich could resolve this conflict