Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

Commit a22b380

Browse files
authored
Merge pull request #356 from maticnetwork/deploy-readme-update
Update README.md in contract deployment
2 parents 0289ceb + 9757f71 commit a22b380

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

deploy-migrations/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,17 @@ We need to deploy our set of contracts on 2 chains:
4545
- Child Chain: EVM compatible chain to work as our sidechain. For testing note that using `ganache` for child-chain is not recommended, instead invoking `npm run bor:simulate` would be better.
4646

4747
```
48-
mv migrations dev-migrations && cp -r deploy-migrations migrations
4948
5049
// Root contracts are deployed on base chain
51-
npm run truffle:migrate -- --reset --to 3 --network <base_chain_network_name>
50+
npm run truffle:migrate -- --reset --to 4 --network <base_chain_network_name>
5251
5352
// Contracts like ChildERC20Token are deployed on child chain aka BOR chain
5453
// NOTE: You need to deploy or simulate BOR before running the below command
55-
npm run truffle:migrate -- --reset -f 4 --to 4 --network <child_chain_network_name>
54+
npm run truffle:migrate -- --reset -f 5 --to 5 --network <child_chain_network_name>
5655
5756
5857
// Contracts deployed on BOR are mapped to the registry contract deployed on-chain
59-
npm run truffle:migrate -- -f 5 --to 5 --network <base_chain_network_name>
58+
npm run truffle:migrate -- -f 6 --to 6 --network <base_chain_network_name>
6059
```
6160

6261
Post successfull deployment all contract addresses will be written to a `contractAddresses.json` file.

0 commit comments

Comments
 (0)