Skip to content

Commit

Permalink
update to new external call syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
harkal committed Mar 9, 2024
1 parent a87076e commit ea83674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/compiler/venom/test_call.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def market_maker(get_contract):
@payable
def foo(token_addr: address, token_quantity: uint256):
self.token_address = IERC20(token_addr)
self.token_address.transferFrom(msg.sender, self, token_quantity)
extcall self.token_address.transferFrom(msg.sender, self, token_quantity)
"""
return get_contract(contract_code)

Expand Down

0 comments on commit ea83674

Please sign in to comment.