Skip to content

Commit

Permalink
12 oct update to fix last commit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Aviksaikat committed Oct 12, 2023
1 parent 868582a commit 679152b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/fds/fds_tx.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
"""
Expand Down
2 changes: 1 addition & 1 deletion src/fds/tests/unit_tests/test_fds_tx.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 679152b

Please sign in to comment.