From 2132a25ea3abc966dcb60b9b0e0ec5ac482fc93a Mon Sep 17 00:00:00 2001 From: Severin Siffert Date: Tue, 16 Jan 2024 14:27:36 +0100 Subject: [PATCH] shellcheck --- e2e/tests-dfx/cycles-ledger.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/tests-dfx/cycles-ledger.bash b/e2e/tests-dfx/cycles-ledger.bash index 8657f59568..89d40b8761 100644 --- a/e2e/tests-dfx/cycles-ledger.bash +++ b/e2e/tests-dfx/cycles-ledger.bash @@ -444,6 +444,7 @@ current_time_nanoseconds() { # using dfx canister create dfx identity use alice + # shellcheck disable=SC2030 export DFX_DISABLE_AUTO_WALLET=1 t=$(current_time_nanoseconds) assert_command dfx canister create e2e_project_backend --with-cycles 1T --created-at-time "$t" @@ -516,9 +517,7 @@ current_time_nanoseconds() { assert_command dfx deploy cycles-depositor --argument "(record {ledger_id = principal \"$(dfx canister id cycles-ledger)\"})" echo "Cycles depositor deployed at id $(dfx canister id cycles-depositor)" assert_command dfx ledger fabricate-cycles --canister cycles-depositor --t 9999 - assert_command dfx deploy - assert_command dfx canister call cycles-depositor deposit "(record {to = record{owner = principal \"$ALICE\";};cycles = 22_400_000_000_000;})" --identity cycle-giver cd .. @@ -526,6 +525,7 @@ current_time_nanoseconds() { # setup done dfx identity use alice + # shellcheck disable=SC2031 export DFX_DISABLE_AUTO_WALLET=1 assert_command dfx canister create --all --with-cycles 10T assert_command dfx cycles balance --precise