Skip to content

Commit

Permalink
docker script update
Browse files Browse the repository at this point in the history
  • Loading branch information
stana-miric committed Sep 8, 2023
1 parent cfe56e1 commit 828249e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/local/polygon-edge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ case "$1" in

rm -f /data/genesis.json

proxyContractsAdmin=0x5aaeb6053f3e94c9b9a09f33669435e7ef1beaed

echo "Generating PolyBFT genesis file..."
"$POLYGON_EDGE_BIN" genesis $CHAIN_CUSTOM_OPTIONS \
--dir /data/genesis.json \
Expand All @@ -61,6 +63,7 @@ case "$1" in
--validators-prefix data- \
--reward-wallet 0xDEADBEEF:1000000 \
--native-token-config "Polygon:MATIC:18:true:$(echo "$secrets" | jq -r '.[0] | .address')" \
--proxy-contracts-admin ${proxyContractsAdmin} \
--bootnode "/dns4/node-1/tcp/1478/p2p/$(echo "$secrets" | jq -r '.[0] | .node_id')" \
--bootnode "/dns4/node-2/tcp/1478/p2p/$(echo "$secrets" | jq -r '.[1] | .node_id')" \
--bootnode "/dns4/node-3/tcp/1478/p2p/$(echo "$secrets" | jq -r '.[2] | .node_id')" \
Expand Down

0 comments on commit 828249e

Please sign in to comment.