Skip to content

Commit

Permalink
adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Mar 29, 2024
1 parent a96519d commit 2165988
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions integration_tests/test_gov_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ def test_evm_update_param(cronos, tmp_path):
cronos.w3,
CONTRACTS["Random"],
)
with pytest.raises(ValueError) as e_info:
contract.caller.randomTokenId()
assert "invalid memory address or nil pointer dereference" in str(e_info.value)
deploy_contract(cronos.w3, CONTRACTS["Greeter"])
res = contract.caller.randomTokenId()
assert res > 0, res
cli = cronos.cosmos_cli()
p = cli.query_params("evm")["params"]
del p["chain_config"]["merge_netsplit_block"]
Expand Down

0 comments on commit 2165988

Please sign in to comment.