Skip to content

Commit

Permalink
Merge pull request #128 from onflow/staging-commands
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent authored Jul 8, 2024
2 parents 6b39d52 + 31b5acb commit 60750fc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This guide aims to simplify the migration process to Cadence 1.0, making it acce
In order to migrate your updated smart contract to Cadence 1.0, it's crucial to stage it on the Testnet network. This preliminary step not only verifies the contract's compatibility and syntactical correctness but also ensures a seamless transition to the new environment.

```bash
flow-c1 migrate stage-contract HelloWorld --network=testnet
flow-c1 migrate stage HelloWorld --network=testnet
```

Ensure that HelloWorld accurately reflects the name of your contract as specified in your flow.json configuration file.
Expand Down Expand Up @@ -62,5 +62,5 @@ You can view all currently staged contracts and see reports on migration status
Once your contract has been successfully staged and validated on the Testnet network, you can proceed with the migration process to the Mainnet network. Execute the following command to migrate your contract to the Mainnet network when ready:

```bash
flow-c1 migrate stage-contract HelloWorld --network=mainnet
flow-c1 migrate stage HelloWorld --network=mainnet
```

0 comments on commit 60750fc

Please sign in to comment.