Skip to content

Clockwork - Anchor 0.31.0 #10

@Tiqan

Description

@Tiqan

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

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