does cast storage need contract abi? #95
Answered
by
johnsonstephan
jaimebarrancos
asked this question in
Q&A
-
While trying to solve challenge of section 3, when I run cast storage it always tries to get the code, searching my local files, and then searching Etherscan for the contracts. Here is what happens when it tries to fetch the code from Etherscan: No matching artifacts found, fetching source code from Etherscan...
Error:
Compiler run failed:
Error (6275): Source "lib/ctf/src/protocol/Challenge.sol" not found: File not found. Searched the following locations: "/private/var/folders/70/pyz3jhgd6ps9mb2qgll4g50r0000gn/T/.tmp17faC3".
--> S3/src/challenges/S3.sol:4:1:
|
4 | import {Challenge} from "lib/ctf/src/protocol/Challenge.sol";
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ When running:
I have a local anvil chain with an alchemy key to Sepolia setup. |
Beta Was this translation helpful? Give feedback.
Answered by
johnsonstephan
Jan 22, 2024
Replies: 1 comment 2 replies
-
Source: Foundry Book |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
jaimebarrancos
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cast storage
cast storage
[options] address slotSource: Foundry Book