From 65dcd0b678ae6f9d7d3272e6fe7e21f1bb369746 Mon Sep 17 00:00:00 2001 From: Eric Swanson Date: Tue, 19 Sep 2023 07:22:43 -0700 Subject: [PATCH 1/3] fix: remove duplicate .with_arg in wallet call --- src/dfx/src/commands/canister/call.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/dfx/src/commands/canister/call.rs b/src/dfx/src/commands/canister/call.rs index c8bfc11fbe..9f8eb53418 100644 --- a/src/dfx/src/commands/canister/call.rs +++ b/src/dfx/src/commands/canister/call.rs @@ -111,7 +111,6 @@ async fn do_wallet_call(wallet: &WalletCanister<'_>, args: &CallIn) -> DfxResult wallet.update_("wallet_call").with_arg(args64) }; let (result,): (Result,) = builder - .with_arg(args) .build() .call_and_wait() .await From e71346abdbaa62385861a6a39a405f5cebb7f952 Mon Sep 17 00:00:00 2001 From: Eric Swanson Date: Tue, 19 Sep 2023 07:26:47 -0700 Subject: [PATCH 2/3] changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 27ee506d80..20f5247362 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,6 +57,10 @@ Background: In order to determine whether to start a project-specific network or If `dfx start` is starting the shared network from within a dfx project, and that dfx.json contains settings in the `defaults` key for `bitcoin`, `replica`, or `canister_http`, then `dfx start` will warn that it is ignoring those settings. It will also describe how to define equivalent settings in networks.json. +### fix: dfx canister call --wallet no longer passes the parameter twice + +Removed the duplicate parameter. + ## Dependencies ### Frontend canister From db084f40fa71e284afbbf66352cee3b0a1ffa53c Mon Sep 17 00:00:00 2001 From: Eric Swanson Date: Tue, 19 Sep 2023 07:41:22 -0700 Subject: [PATCH 3/3] changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 20f5247362..74cea9f8d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -59,7 +59,7 @@ If `dfx start` is starting the shared network from within a dfx project, and tha ### fix: dfx canister call --wallet no longer passes the parameter twice -Removed the duplicate parameter. +The parameter was erroneously passed twice. Now it is passed only once. ## Dependencies