Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

cargo test fails in version of 0.2 #1435

@Subway2023

Description

@Subway2023

What command(s) is the bug in?

cargo test --package zkevm-circuits --lib -- evm_circuit::util::math_gadget::modulo::tests::test_mod_n_expected_rem --exact --show-output

Describe the bug

I want to reproduce the bug in this pull request. Therefore, the first step is to run the tests for these Rust files. However, I encounter an error during dependency resolution.

Concrete steps to reproduce the bug. If it's able reproduce via testool, please share test_id from jenkins report

error: failed to select a version for the requirement `sp-core = "^7.0.0"`
candidate versions found which didn't match: 21.0.0
location searched: Git repository https://github.com/paritytech/substrate?branch=master
required by package `fp-evm v3.0.0-dev (https://github.com/paritytech/frontier?rev=73e6223e8bc26bf8e57cd9b212f1bc2fd288c5ca#73e6223e)`
    ... which satisfies git dependency `fp-evm` of package `bus-mapping v0.1.0 (/mnt/sdd1/sbw/halo2/zkevm-circuits-0.2.0/bus-mapping)`
    ... which satisfies path dependency `bus-mapping` of package `zkevm-circuits v0.1.0 (/mnt/sdd1/sbw/halo2/zkevm-circuits-0.2.0/zkevm-circuits)`

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