Closed tadeohepperle closed 1 year ago
On https://docs.substrate.io/tutorials/smart-contracts/prepare-your-first-contract/ there is this command:
cargo contract instantiate --constructor new --args "false" --suri //Alice --salt $(date +%s)
To get the output shown below on the website, one would have to add the -x or --execute flag.
-x
--execute
Proposed change:
cargo contract instantiate --execute --constructor new --args "false" --suri //Alice --salt $(date +%s)
The --execute flag should also be explained in the bullet points on the website right under the command.
Closing this, because I was using a newer version of cargo contract ( 3.2.0) while the website is for version 2.0.0. Maybe this could be updated in the future.
cargo contract
On https://docs.substrate.io/tutorials/smart-contracts/prepare-your-first-contract/ there is this command:
To get the output shown below on the website, one would have to add the
-x
or--execute
flag.Proposed change:
The
--execute
flag should also be explained in the bullet points on the website right under the command.