Skip to content

Commit

Permalink
Fix some tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreibancioiu committed May 10, 2024
1 parent 2f2ef9a commit 3fc6604
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Empty file added multiversx_sdk/abi/__init__.py
Empty file.
4 changes: 2 additions & 2 deletions multiversx_sdk/core/smart_contract_queries_controller_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ def test_create_query_with_arguments(self):
query = self.controller.create_query(
contract=contract,
function=function,
arguments=[int.to_bytes(7), "abba".encode()]
arguments=[int.to_bytes(7, length=4, byteorder="big"), "abba".encode()]
)
assert query.contract == contract
assert query.function == function
assert query.arguments == [int.to_bytes(7), "abba".encode()]
assert query.arguments == [int.to_bytes(7, length=4, byteorder="big"), "abba".encode()]
assert query.caller is None
assert query.value is None

Expand Down

0 comments on commit 3fc6604

Please sign in to comment.