Skip to content

Commit

Permalink
Fix devnet docker compose setup script (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
R-Santev authored Feb 20, 2024
1 parent 8868881 commit d551d2f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion h_devnet/devnet_cluster/polygon-edge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ case "$1" in
# Loop through each data directory and delete specific subdirectories
for i in 1 2 3 4 5; do
echo "Cleaning up /data/data-$i directory..."
rm -rf /data/data-$i/blockchain /data/data-$i/consensus/polybft /data/data-$i/trie
rm -rf /data/data-$i/blockchain /data/data-$i/consensus/polybft /data/data-$i/consensus/validator.sig /data/data-$i/trie

# This will generate new signatures without modifying the keys that are already present
"$POLYGON_EDGE_BIN" polybft-secrets init --insecure --chain-id 8844 --num 5 --data-dir /data/data- --json
done
else
echo "Generating PolyBFT secrets..."
Expand Down

0 comments on commit d551d2f

Please sign in to comment.