Skip to content

Commit

Permalink
tiny fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aterga committed Dec 4, 2024
1 parent f92e7b9 commit 2a64e8d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion deploy_dapp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ export ARG="${3:-()}"

. ./constants.sh normal

./bin/dfx --provisional-create-canister-effective-canister-id jrlun-jiaaa-aaaab-aaaaa-cai canister create "${NAME}" --network "${NETWORK}" --no-wallet
./bin/dfx \
--provisional-create-canister-effective-canister-id jrlun-jiaaa-aaaab-aaaaa-cai \
canister create "${NAME}" \
--network "${NETWORK}" \
--no-wallet

if [[ -z "${WASM}" ]]
then
rm -f "${WASM}-s.wasm.gz"
./bin/dfx build --network "${NETWORK}" "${NAME}"
WASM=".dfx/${DX_NETWORK}/canisters/${NAME}/${NAME}"
ic-wasm "${WASM}.wasm" -o "${WASM}-s.wasm" shrink
Expand Down
2 changes: 1 addition & 1 deletion example_sns_init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ Distribution:
# as the treasury. This is initialized in a special sub-account, as the
# main account of Governance is the minting account of the SNS Ledger.
# This field is specified as a token. For instance, "1 token".
governance: 2_000_000 tokens
treasury: 2_000_000 tokens

# The initial SNS token balance of the Swap canister is what will be
# available for the decentralization swap. These tokens will be swapped
Expand Down
1 change: 1 addition & 0 deletions upgrade_dapp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ fi

if [[ -z "${WASM}" ]]
then
rm -f "${WASM}-s.wasm.gz"
./bin/dfx build --network "${NETWORK}" "${NAME}"
WASM=".dfx/${DX_NETWORK}/canisters/${NAME}/${NAME}"
ic-wasm "${WASM}.wasm" -o "${WASM}-s.wasm" shrink
Expand Down

0 comments on commit 2a64e8d

Please sign in to comment.