From 33f76659a82381e8533be885ba8472adbbd1135d Mon Sep 17 00:00:00 2001 From: Leigh <351529+leighmcculloch@users.noreply.github.com> Date: Thu, 22 Oct 2026 22:39:47 +0000 Subject: [PATCH] remove stellar-cli protocol version check --- .scripts/update-config-settings | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.scripts/update-config-settings b/.scripts/update-config-settings index 83d19c70..5f2df4b8 100755 --- a/.scripts/update-config-settings +++ b/.scripts/update-config-settings @@ -29,15 +29,6 @@ if ! [[ "$protocol" =~ ^[0-9]+$ ]]; then exit 1 fi -# stellar-cli's major version tracks the protocol it supports. If testnet has -# advanced beyond it, `stellar network settings` silently omits settings the -# older XDR doesn't know about, so fail loudly to prompt bumping the pinned CLI. -cli_protocol="$(stellar version --only-version-major)" -if [ "$protocol" -gt "$cli_protocol" ]; then - echo "error: testnet is on protocol $protocol but stellar-cli supports protocol $cli_protocol; bump the pinned stellar-cli version" >&2 - exit 1 -fi - dir="$config_settings_dir/p$protocol" mkdir -p "$dir"