I’m trying to implement an escrow contract from this tutorial and for testing it I need to deploy an asset mint contract. I’m placing the assets contract under the tests/artifacts/asset folder (which I generated using forc new asset). The repository structure is very similar to this.
But when I run forc build inside the asset folder to generate the asset-abi.json file, I get the error Error: failed to parse manifest: missing field members at line 7 column 1.
Thank you! It compiled after I changed my toolchain to the latest one.
It seems that forc in the latest toolchain returns an Option for StorageMap.get(key), whereas the beta-2 toolchain forc returns the raw value. fuel-analyzer seems to work with the beta-2 version of forc, so its yelling at me that unwrap() is not found on the value.
Any ideas on how to make fuel-analyser detect the project’s default toolchain and provide linting based on that?