Skip to content

Commit

Permalink
Fix cluster script (#1539)
Browse files Browse the repository at this point in the history
  • Loading branch information
goran-ethernal committed May 24, 2023
1 parent 8378a5f commit ef089fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/cluster
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function initRootchain() {
rootERC20=$(cat genesis.json | jq -r '.params.engine.polybft.bridge.nativeERC20Address')
stakeManagerAddr=$(cat genesis.json | jq -r '.params.engine.polybft.bridge.stakeManagerAddr')
customSupernetManagerAddr=$(cat genesis.json | jq -r '.params.engine.polybft.bridge.customSupernetManagerAddr')
chainID=$(cat genesis.json | jq -r '.params.chainID')
supernetID=$(cat genesis.json | jq -r '.params.engine.polybft.supernetID')

./polygon-edge rootchain fund \
--native-root-token ${rootERC20} \
Expand All @@ -79,7 +79,7 @@ function initRootchain() {
./polygon-edge polybft stake \
--data-dir test-chain-${counter} \
--amount 1000000000000000000000000 \
--supernet-id ${chainID} \
--supernet-id ${supernetID} \
--stake-manager ${stakeManagerAddr} \
--native-root-token ${rootERC20} \
--jsonrpc http://127.0.0.1:8545
Expand Down

0 comments on commit ef089fb

Please sign in to comment.