Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:iotaledger/iota-core into feat/c…
Browse files Browse the repository at this point in the history
…ache-reset
  • Loading branch information
hmoog committed Nov 7, 2023
2 parents e887145 + 861754c commit e6bfef5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tools/docker-network/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash


# Create a function to join an array of strings by a given character
function join { local IFS="$1"; shift; echo "$*"; }

Expand Down Expand Up @@ -52,7 +51,11 @@ docker run --rm \
golang:1.21 go run -tags=rocksdb . --config docker --seed 7R1itJx5hVuo9w9hjg5cwKFmek4HMSoBDgJZN8hKGxih

# Move and set permissions for the .snapshot file
mv -f ../genesis-snapshot/*.snapshot .
if ! mv -f ../genesis-snapshot/*.snapshot .; then
echo "Failed to create or move snapshot file"
exit 1
fi

chmod o+r *.snapshot

echo "Run iota-core network"
Expand Down

0 comments on commit e6bfef5

Please sign in to comment.