diff --git a/src/algokit_utils/beta/composer.py b/src/algokit_utils/beta/composer.py index a8aaa4b..22172a7 100644 --- a/src/algokit_utils/beta/composer.py +++ b/src/algokit_utils/beta/composer.py @@ -456,7 +456,6 @@ def _build_app_call( sdk_params = { "sender": params.sender, "sp": suggested_params, - "index": params.app_id or 0, "on_complete": params.on_complete or algosdk.transaction.OnComplete.NoOpOC, "approval_program": params.approval_program, "clear_program": params.clear_program, @@ -484,6 +483,7 @@ def _build_app_call( txn = algosdk.transaction.ApplicationCreateTxn(**sdk_params) # type: ignore[no-untyped-call] else: + sdk_params["index"] = params.app_id txn = algosdk.transaction.ApplicationCallTxn(**sdk_params) # type: ignore[assignment,no-untyped-call] return self._common_txn_build_step(params, txn, suggested_params)