Error when deploying SNS testflight to mainnet

Hi @Jesse,

Indeed there seems to have been a bug in the testflight subcommand of the sns cli tool. We fixed the bug (thanks, @Andre-Popovitch). While the fix is not yet released as part of the dfx sns extension, you could already download the fixed binary directly:

case "$(uname -sr)" in
   Darwin*)
     export OS="darwin"
     ;;

   Linux*Microsoft*)
     export OS="linux"
     ;;

   Linux*)
     export OS="linux"
     ;;

   *)
     echo "Unknown OS!"
     exit 1
     ;;
esac
IC_COMMIT=aac42c05675378734cbd21cf73a9979c3cd253df
curl --fail -L "https://download.dfinity.systems/ic/${IC_COMMIT}/binaries/x86_64-${OS}/sns.gz" -o sns.gz
gzip -fd sns.gz
chmod +x sns

Then just run ./sns ... instead of dfx sns ... while following the instructions.


I’ve then noticed that the developer neurons are not being printed by the tool (perhaps another bug; will try to fix it soon). For now, you could get the information about the developer neurons that can be used to operate an SNS in testflight mode via the following command:

dfx canister \
    call sns_governance list_neurons \
        '(record { of_principal = null; limit = 0 : nat32; start_page_at = null })' \
        | idl2json | jq