I try to deploy a contract and it works fine on Testnet, but changing --chain=D
gives an invalid chain ID. Why?
The sent command is this:
mxpy --verbose contract deploy \
--project=${PROJECT} \
--recall-nonce \
--pem=${ALICE} \
--gas-limit=6000000 \
--arguments 0 \
--send \
--outfile="deploy-devnet.interaction.json" \
--chain=D
Related question:
Adding
solves the problem.