-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cargo build errors #1
Comments
Maybe try replacing |
I tried that as well. Same error. It looks like MultiAbigen is a new feature. Perhaps that is why it is not in the crate's version = "0.6.2" yet. |
Have you tried |
Also, may I ask what your purpose of running? FYI that this is incomplete and the arbitrage logic may not be correct. |
I ran cargo clean, but same errors. I want to run the code to learn how to interact with the flashbots contracts. |
Can you get it to work now? |
I got the parts that I need working - by duplicating them in a new application. |
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 packageecdsa v0.13.4
... which satisfies dependency
ecdsa = "^0.13.4"
of packageethers-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
incontract
Do I need to install any other software before attempting the build?
The text was updated successfully, but these errors were encountered: