Skip to content

Commit

Permalink
Update dfx to version 0.19.0 (#2425)
Browse files Browse the repository at this point in the history
Updates `dfx` in the II repository. This has the advantage that `blob`
hex bytes no longer need to be preceded by `\`.
  • Loading branch information
frederikrothenberger committed Apr 16, 2024
1 parent edd65c3 commit be7929c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"packtool": ""
}
},
"dfx": "0.18.0",
"dfx": "0.19.0",
"version": 1
}
2 changes: 1 addition & 1 deletion scripts/deploy-archive
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ then
network_arg+=( "--network" "$network")
fi

dfx canister "${network_arg[@]}" call "$canister_id" deploy_archive --argument-file <(echo "(blob \"$(hexdump -ve '1/1 "%.2x"' "$wasm" | sed 's/../\\&/g')\")")
dfx canister "${network_arg[@]}" call "$canister_id" deploy_archive --argument-file <(echo "(blob \"$(hexdump -ve '1/1 "%.2x"' "$wasm")\")")

0 comments on commit be7929c

Please sign in to comment.