Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion client-cmds/gean-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ if [ -n "$attestationCommitteeCount" ]; then
attestation_committee_flag="--attestation-committee-count $attestationCommitteeCount"
fi

# Set checkpoint sync URL when restarting with checkpoint sync
checkpoint_sync_flag=""
if [ -n "${checkpoint_sync_url:-}" ]; then
checkpoint_sync_flag="--checkpoint-sync-url $checkpoint_sync_url"
fi

# Resolve binary path relative to the script location
# Fallback to absolute path if scriptDir is not available
BASE_DIR="${scriptDir:-$(pwd)}"
Expand All @@ -36,6 +42,7 @@ node_binary="$gean_bin \
--devnet-id \"${devnet:-devnet0}\" \
--api-port $apiPort \
$metrics_flag \
$checkpoint_sync_flag \
$attestation_committee_flag \
$aggregator_flag"

Expand All @@ -53,7 +60,8 @@ node_docker="ghcr.io/geanlabs/gean:devnet3 \
--devnet-id ${devnet:-devnet0} \
--api-port $apiPort \
$metrics_flag \
$checkpoint_sync_flag \
$attestation_committee_flag \
$aggregator_flag"

node_setup="docker"
node_setup="docker"
Loading