From 679152b134b1aef24df698e7ef17e13d47129492 Mon Sep 17 00:00:00 2001 From: SAIKAT KARMAKAR Date: Thu, 12 Oct 2023 11:42:33 +0100 Subject: [PATCH] 12 oct update to fix last commit tests --- src/fds/fds_tx.py | 2 +- src/fds/tests/unit_tests/test_fds_tx.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fds/fds_tx.py b/src/fds/fds_tx.py index 07841b7..9d5fceb 100644 --- a/src/fds/fds_tx.py +++ b/src/fds/fds_tx.py @@ -32,7 +32,7 @@ def deployContract( ) -> ContractInstance: fdscontract = FDSContract(self.account) # type: ignore - return fdscontract.deploy(contract=contract, *args, publish=publish, **kwargs) + return fdscontract.deploy(_contract=contract, *args, publish=publish, **kwargs) def syncNonce(self) -> int: """ diff --git a/src/fds/tests/unit_tests/test_fds_tx.py b/src/fds/tests/unit_tests/test_fds_tx.py index 81530f5..647207b 100644 --- a/src/fds/tests/unit_tests/test_fds_tx.py +++ b/src/fds/tests/unit_tests/test_fds_tx.py @@ -5,7 +5,7 @@ def test_get_contract(sender, owner, solidity_contract_instance, ABI): contract_address = solidity_contract_instance.address tx_object = Tx(owner) - deployed_contract = tx_object.getContract(sender, contract_address, ABI) + deployed_contract = tx_object.getContract(contract_address, ABI) assert deployed_contract.address == contract_address assert deployed_contract.balance == 0