Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 16, 2024
1 parent c641929 commit 15bd4db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/archival-snapshots/resources/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ while ((LATEST_EPOCH - CURRENT_EPOCH > 30000)); do
EPOCH_TIMESTAMP=$((GENESIS_TIMESTAMP + NEW_EPOCH*SECONDS_PER_EPOCH))
DATE=$(date --date=@"$EPOCH_TIMESTAMP" -u -I)
NEW_SNAPSHOT="forest_snapshot_mainnet_$DATE_height_$NEW_EPOCH.forest.car.zst"

if [ ! -f "./$NEW_SNAPSHOT" ]; then
echo "Exporting snapshot: $NEW_SNAPSHOT"
$FOREST_CLI snapshot export --tipset "$NEW_EPOCH" --depth 30000 > export.txt
Expand Down

0 comments on commit 15bd4db

Please sign in to comment.