Cyfrin / foundry-nft-cu

21 stars 22 forks source link

Can't Mint the NFT #24

Closed Onu-Daniel closed 7 months ago

Onu-Daniel commented 7 months ago

When I run the code make mint ARGS="--network sepolia" to mint the nft after deploying it, I get this error

` [6857] MintBasicNft::run() ├─ [3925] DevOpsTools::get_most_recent_deployment("BasicNft", 11155111 [1.115e7]) [delegatecall] │ ├─ [0] VM::readDir("./broadcast", 3) [staticcall] │ │ └─ ← the path broadcast is not allowed to be accessed for read operations │ └─ ← the path broadcast is not allowed to be accessed for read operations └─ ← the path broadcast is not allowed to be accessed for read operations

Error: script failed: the path broadcast is not allowed to be accessed for read operations make: *** [Makefile:47: mint] Error 1`

PatrickAlphaC commented 7 months ago

Can you confirm your foundry.toml file matches what you see here on GitHub?

Onu-Daniel commented 7 months ago

It was a bit different. Thanks that solved it