Closed AndroKasrashvili closed 3 months ago
Hello @AndroKasrashvili
It seems your problem is related to the VMCalls for using an undefined or unsupported function. This tends to happen mostly because of a mismatch in the version with the Solidity compiler, foundry, or both.
I reviewed your code, and it seems to be all fine, so before we delve deep into more possible solutions, try this:
foundryup
.toml
file use 0.8.19
.forge clean
and forge build
.ARGS="--network sepolia --compiler-version 0.8.19"
Did any of these solutions help you? If not, let us know, and I will try to reproduce this error on my end.
Update your foundry to the latest version as they migrated to native assertions and your current foundry version does not include them.
foundryup
@cromewar matching solidity version in all contracts and foundryup command solved the problem.
Thank You!
here are my Interactions.s.sol at this point:
this is my BasicNft.sol:
foundry.toml
Makefile:
error in terminal:
I am using files in IPFS uploaded by me, have tried URI provided in this repo, same error. any ideas?
Thanks!