New answers tagged moccasin
0
votes
When testing a vyper contract in moccasin/titanoboa, how do you expect a revert?
Use with boa.reverts
import boa
def test_revert():
with boa.reverts("my revert error"):
my_contract.func()
Top 50 recent answers are included