diff --git a/bin/dfx-snapshot-restore b/bin/dfx-snapshot-restore index 26a52ab9..29f64f09 100755 --- a/bin/dfx-snapshot-restore +++ b/bin/dfx-snapshot-restore @@ -18,7 +18,6 @@ help_text() { source "$SOURCE_DIR/clap.bash" # Define options clap.define short=s long=snapshot desc="The file to save to" variable=DFX_SNAPSHOT_FILE default="state.tar.xz" -clap.define long=pocketic desc="Whether to start dfx with --pocketic" variable=USE_POCKET_IC nargs=0 default=false # Source the output file ---------------------------------------------------------- source "$(clap.build)" @@ -27,12 +26,10 @@ DFX_SNAPSHOT_FILE="$(realpath "$DFX_SNAPSHOT_FILE")" pushd "$HOME" rm -fr .local/share/dfx/network/local tar --extract --xz --file "$DFX_SNAPSHOT_FILE" -POCKET_IC_ARG=() -if [[ "${USE_POCKET_IC:-}" == "true" ]]; then - POCKET_IC_ARG=(--pocketic) -fi + # Note: dfx start works here but not in the project dir. -dfx start "${POCKET_IC_ARG[@]}" --background +dfx start --background +sleep 10 # wait for dfx to start num_canisters="$(curl -s "http://localhost:$(dfx info webserver-port)/_/dashboard" | grep -c '

Execution state

')" echo "Approx num canisters: $num_canisters" popd diff --git a/bin/versions.bash b/bin/versions.bash index 66cf7b47..e46fb365 100644 --- a/bin/versions.bash +++ b/bin/versions.bash @@ -10,6 +10,6 @@ QUILL_VERSION=0.5.3 IDL2JSON_VERSION=0.8.5 BINSTALL_VERSION=1.3.0 IC_WASM_VERSION=0.6.0 -DFX_NNS_EXTENSION_VERSION=0.5.4 -DFX_SNS_EXTENSION_VERSION=0.5.4 +DFX_NNS_EXTENSION_VERSION=0.7.0 +DFX_SNS_EXTENSION_VERSION=0.7.0 EXCHANGE_RATE_CANISTER_RELEASE=2024.09.05 diff --git a/dfx.json b/dfx.json index ebf43fdd..c3115dd0 100644 --- a/dfx.json +++ b/dfx.json @@ -6,6 +6,6 @@ "packtool": "" } }, - "dfx": "0.29.2", + "dfx": "0.30.1", "version": 1 } diff --git a/dfx.json.original b/dfx.json.original index ebf43fdd..c3115dd0 100644 --- a/dfx.json.original +++ b/dfx.json.original @@ -6,6 +6,6 @@ "packtool": "" } }, - "dfx": "0.29.2", + "dfx": "0.30.1", "version": 1 }