-
Notifications
You must be signed in to change notification settings - Fork 144
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
cast etherscan-source seems to not work #508
Comments
It indeed seems that the URLs present on |
shouldn't it be possible to just replace the default explorer to https://era.zksync.network/ as i think should be api compatible |
@Karrq alloy-chains is now pointing to the correct api. #78 |
@brotherlymite Since this functionality has just been merged, we'd need to wait for the new release from the maintainers. Once it's done we can patch it in our repository. @sakulstra Since cast relies on chain-id to infer urls, this would be inconsistent with the url provided in the config. In any case, this involves adding a feature that's not present on upstream foundry, and could take a while. Similar to foundry-rs/foundry#4776 |
Component
Cast
Have you ensured that all of these are up to date?
What version of Foundry are you on?
No response
What command(s) is the bug in?
cast 0.0.2 (fb6d0c5 2024-08-08T00:23:13.876828000Z)
Operating System
macOS (Apple Silicon)
Describe the bug
When downloading source contracts from etherscan using cast, getting a
Failed to deserialize content
error.To reproduce, run this command:
RUST_LOG=trace cast etherscan-source --chain-id 324 -d downloads/POOL_ADDRESSES_PROVIDER 0xE8bC6e12faf260dbA1c942134070221B11BF37Fb
Getting the trace error message:
My guess is it is breaking due to incorrect api url.
The text was updated successfully, but these errors were encountered: