This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 796
Failed to get ABI JSON when use abigen! w/ $ETHERSCAN_API_KEY set #589
Labels
bug
Something isn't working
Comments
Can you try the below code? abigen!(
DAI,
"etherscan:0x6b175474e89094c44da98b954eedeac495271d0f"
); |
[root@iZrj923msgidyk7ob4pwzgZ ethers-rs]# export ETHERSCAN_API_KEY=4Z9TGJ2BF1WSHCP6Q5G8CREFM5IQR92ZYX
[root@iZrj923msgidyk7ob4pwzgZ ethers-rs]# cargo run --example contract_with_abi -p ethers
Compiling ethers v0.5.4 (/root/rust/ethers-rs)
error: failed to get ABI JSON
--> examples/contract_with_abi.rs:20:5
|
20 | "etherscan:0x6b175474e89094c44da98b954eedeac495271d0f"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: could not compile `ethers` due to previous error Same error. Any features wrong? |
Fixed in #632 |
meetmangukiya
pushed a commit
to meetmangukiya/ethers-rs
that referenced
this issue
Mar 21, 2022
Currently all of our releases have no description, because our changelog builder action hides uncategorized PRs by default. This configures the action to show the uncategorized PRs under a special section called "Other", and it also configures the labels required for the other sections of the changelog: - Feature PRs should now be tagged with `T-feature` - Bug fix PRs should be tagged with `T-bug` - To omit a PR entirely from the changelog, add `L-ignore` to the PR.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
Platform
Linux
Description
failed to get ABI JSON when use abigen! w/ $ETHERSCAN_API_KEY set
I tried this code:
The text was updated successfully, but these errors were encountered: