When I compile a specific INK! 4.0 smart contract i get the following error:
ERROR: Error invoking `cargo metadata
I have multiple INK! 4.0 smart contracts that are compiling successfully without the above error, i even copy and pasted the Cargo.toml file of the working contracts but Im still getting the above error.
Here's how my Cargo.toml file looks like:
Link - https://ibb.co/wdN3FTp
Thanks in advance.
# ink = { version = "4.0.0-beta", default-features = false }
insteadink = { version = "https://github.com/paritytech/ink", commit = "4655a8b4413cb50cbc38d1b7c173ad426ab06cde", default-features = false }
Cargo.lock
, clean build the contract