Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Mismatched Types, Different Versions of primitive-types #17

Open
taoyiran opened this issue Nov 18, 2022 · 0 comments
Open

Mismatched Types, Different Versions of primitive-types #17

taoyiran opened this issue Nov 18, 2022 · 0 comments

Comments

@taoyiran
Copy link

Hi, All:

When I run cargo build under the path: my_path_to/evm_tests, I get a lot of errors, such as:

error[E0277]: the trait bound `primitive_types::U256: From<Uint>` is not satisfied
  --> jsontests/src/utils.rs:14:12
   |
14 |         balance: s.balance.clone().unwrap().into(),

then I find the different versions of primitive_types used in the jsontests/Cargo.toml (version = 0.12) and submodule evm/Cargo.toml(version = 0.11). Is this a problem or I just make things wrong?

I am running under the Arch Linux, 6.0.5-arch1-1 with cargo version: cargo 1.65.0 (4bc8f24d3 2022-10-20), and rustc version: rustc 1.65.0 (897e37553 2022-11-02).

Best regards.
Thx

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant