Skip to content

Polkadot SDK stable2503 support #13

@khssnv

Description

@khssnv

An attempt to integrate to a parachain using stable2503-6 from crates.io fails with the following error.

$ cargo build
    Blocking waiting for file lock on package cache
    Updating git repository `https://github.com/RegionX-Labs/On-Demand.git`
    Updating git repository `https://github.com/paritytech/polkadot-sdk.git`
    Updating crates.io index
error: failed to select a version for `litep2p`.
    ... required by package `sc-network v0.48.5 (https://github.com/paritytech/polkadot-sdk.git?branch=stable2412#37f85a06)`
    ... which satisfies git dependency `sc-network` of package `polkadot-node-network-protocol v21.0.0 (https://github.com/paritytech/polkadot-sdk.git?branch=stable2412#37f85a06)`
    ... which satisfies git dependency `polkadot-node-network-protocol` of package `polkadot-overseer v21.1.0 (https://github.com/paritytech/polkadot-sdk.git?branch=stable2412#37f85a06)`
    ... which satisfies git dependency `polkadot-overseer` of package `cumulus-relay-chain-interface v0.21.0 (https://github.com/paritytech/polkadot-sdk.git?branch=stable2412#37f85a06)`
    ... which satisfies git dependency `cumulus-relay-chain-interface` of package `order-primitives v0.1.0 (https://github.com/RegionX-Labs/On-Demand.git?rev=e565f0e52f1e380e1d8d269e7e1b6cb5615c431c#e565f0e5)`
    ... which satisfies git dependency `order-primitives` of package `qf-parachain-runtime v0.1.0 (/home/khassanov/Workspace/github.com/QuantumFusion-network/qf-solochain/runtimes/parachain)`
    ... which satisfies path dependency `qf-parachain-runtime` (locked to 0.1.0) of package `qf-parachain-node v0.1.0 (/home/khassanov/Workspace/github.com/QuantumFusion-network/qf-solochain/parachain/node)`
versions that meet the requirements `^0.9.5` are: 0.9.5

all possible versions conflict with previously selected packages.

  previously selected package `litep2p v0.9.4`
    ... which satisfies dependency `litep2p = "^0.9.4"` (locked to 0.9.4) of package `sc-network v0.49.1`
    ... which satisfies dependency `sc-network = "^0.49.1"` (locked to 0.49.1) of package `qf-node v0.1.16 (/home/khassanov/Workspace/github.com/QuantumFusion-network/qf-solochain/node)`

failed to select a version for `litep2p` 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