Skip to content

Commit

Permalink
fix: topos docker
Browse files Browse the repository at this point in the history
  • Loading branch information
atanmarko authored and sebastiendan committed Sep 7, 2023
1 parent 575033a commit dbf3312
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker/local-topos/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18-alpine AS builder
FROM golang:1.20-alpine AS builder

RUN apk add git

Expand Down
6 changes: 3 additions & 3 deletions docker/local-topos/polygon-edge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ case "$1" in
--dir genesis.json \
--consensus ibft \
--ibft-validators-prefix-path data- \
--validator-set-size=$NUMBER_OF_NODES \
--max-validator-count=$NUMBER_OF_NODES \
--bootnode /dns4/"$BOOTNODE_DOMAIN_NAME"/tcp/1478/p2p/$BOOTNODE_ID \
--premine=$BOOTNODE_ADDRESS:1000000000000000000000 \
&& cd /polygon-edge
Expand Down Expand Up @@ -76,7 +76,7 @@ case "$1" in
--dir "$GENESIS_PATH" \
--consensus polybft \
--manifest /data/manifest.json \
--validator-set-size=$NUMBER_OF_NODES \
--max-validator-count=$NUMBER_OF_NODES \
--bootnode /dns4/"$BOOTNODE_DOMAIN_NAME"/tcp/1478/p2p/$BOOTNODE_ID
fi
;;
Expand All @@ -103,7 +103,7 @@ case "$1" in
"$POLYGON_EDGE_BIN" genesis --dir genesis.json \
--consensus ibft \
--ibft-validators-prefix-path data- \
--validator-set-size=1 \
--max-validator-count=1 \
--premine=0x4AAb25B4fAd0Beaac466050f3A7142A502f4Cf0a:1000000000000000000000 \
--bootnode /ip4/127.0.0.1/tcp/10001/p2p/$NODE_ID

Expand Down

0 comments on commit dbf3312

Please sign in to comment.