You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After making the change, build.rs still fails to compile. I'm not familiar with the logic in that file, otherwise I would've made the fix a PR. Hope this helps.
error[E0061]: this function takes 2 arguments but 1 argument was supplied
--> /home/plotchy/.cargo/git/checkouts/erigon-db-d1f243f9aeca17a7/d88f5bf/build.rs:29:31
|
29 | let contract = output.find(name).ok_or_else(|| {
| ^^^^------ an argument is missing
|
note: associated function defined here
--> /home/plotchy/.cargo/git/checkouts/ethers-rs-c3a7c0a0ae0fe6be/8db1899/ethers-solc/src/compile/output/mod.rs:246:12
|
246 | pub fn find(&self, path: impl AsRef<str>, contract: impl AsRef<str>) -> Option<&T::Artifact> {
| ^^^^
help: provide the argument
|
29 | let contract = output.find(name, {_}).ok_or_else(|| {
| ~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
This pr for ethers-rs has made ethers-solc an optional feature:
gakonst/ethers-rs#1463
build.rs depends on ethers::solc
After making the change, build.rs still fails to compile. I'm not familiar with the logic in that file, otherwise I would've made the fix a PR. Hope this helps.
The text was updated successfully, but these errors were encountered: