Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tserg committed Aug 7, 2023
1 parent c7c7d37 commit bf58e4e
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -892,11 +892,6 @@ def set_lucky(_lucky: int128) -> int128: nonpayable
@view
def set_lucky_expr(arg1: address, arg2: int128):
Foo(arg1).set_lucky(arg2)
@external
@view
def set_lucky_stmt(arg1: address, arg2: int128) -> int128:
return Foo(arg1).set_lucky(arg2)
"""
assert_compile_failed(lambda: get_contract_with_gas_estimation(c), StateAccessViolation)

Expand Down

0 comments on commit bf58e4e

Please sign in to comment.