Good day. I am trying to build the simple-arbitrage-rs app.
Cargo build gives me the following errors:
Attempt-1
Cargo.toml:
ethers = { git = "https://github.com/thasarito/ethers-rs", feature="abigen" }
Error:
Updating git repository https://github.com/thasarito/ethers-rs
Updating crates.io index
Updating git repository https://github.com/rust-ethereum/ethabi
Updating git repository https://github.com/hyperledger-labs/solang
error: failed to select a version for generic-array
.
... required by package elliptic-curve v0.11.6
... which satisfies dependency elliptic-curve = "^0.11.6"
(locked to 0.11.6) of package ecdsa v0.13.4
... which satisfies dependency ecdsa = "^0.13.4"
of package ethers-core v0.6.0 (https://github.com/thasarito/ethers-rs#a77bf845)
Attempt-2
Cargo.toml:
ethers = { version = "0.6.2", features = ["abigen"] }
Error:
error[E0432]: unresolved import ethers::contract::MultiAbigen
--> build.rs:2:24
|
2 | use ethers::contract::{MultiAbigen};
| ^^^^^^^^^^^ no MultiAbigen
in contract
Do I need to install any other software before attempting the build?