I'm trying to declare my first contract on Starknet by following the official Starknet tutorial.
The problem is that when I try to declare my contract with this command:
starkli declare path/to/contract.sierra --compiler-version=2.0.1
after having set the environment variables STARKNET_ACCOUNT
and STARKNET_KEYSTORE
I get the error:
Error: expected ',' or '}' at line 11 column 3
I don't know what file does this error refer to, but I'm assuming it is not my contract, since the same error appears even when I try to deploy the contract already declared in the tutorial with:
starkli deploy <class hash> ...
I'm using Ubuntu and a Python 3.9 virtual environment. For the rest I followed the tutorial step by step. If you need more info I'll provide it as soon as possible.