openethereum / sol-rs

Solaris - Solidity testing framework in Rust.
GNU General Public License v3.0
54 stars 14 forks source link

Can't find 'EvmTestError' in 'client' #39

Open fCorleone opened 6 years ago

fCorleone commented 6 years ago

Hi~,I'm trying to build this program, and when I use command cargo run in example, I got this:

error[E0432]: unresolved import `ethcore::client::EvmTestError`
  --> solaris/src/error.rs:18:5
   |
18 | use ethcore::client::EvmTestError;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `EvmTestError` in `client`

The path to ethcore in cargo.toml :

ethcore = { git = "https://github.com/paritytech/parity.git" }

And I found that 'EvmTestError' is in file evm_test_client.rs in ethcore/src/client/ I just don't know how this could happen, and I'll appreciate it if you could give me a help about this.

stephenctw commented 4 years ago

The parity repo has gone through quite some refactoring. So many modules, structs, etc have changed its paths or belonging crates. I have a PR that fix all these dependencies problem and is passing all the tests. Give it a try in case you still need it.