Skip to content

Commit

Permalink
test: remove test
Browse files Browse the repository at this point in the history
multisend call only doesn't enforce being delegatecalled
  • Loading branch information
banteg committed Jun 12, 2024
1 parent e0fc431 commit 182a216
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/functional/test_multisend.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,3 @@ def test_default_operation(safe, token, vault, multisend):
multisend.add(vault.transfer, safe, amount)
receipt = multisend(sender=safe)
assert receipt.txn_hash


def test_no_operation(safe, token, vault, multisend):
amount = token.balanceOf(safe)
multisend.add(token.approve, vault, 123)
multisend.add(vault.transfer, safe, amount)
with pytest.raises(SafeLogicError, match="Safe transaction failed"):
multisend(sender=safe, operation=0)

0 comments on commit 182a216

Please sign in to comment.