Closed hollowgrahm closed 3 months ago
what version / commit of titanoboa and vyper is this?
Getting the same error for reverting executions on vyper-0.4.0
branch and vyper@v0.4.0b6
.
E.g. for a = 3 will throw an error, while for other inputs it will work correctly
import boa
test = """
@external
def foo(a: uint256) -> uint256:
if a == 3:
raise
return a
"""
ct = boa.loads(test)
res = ct.foo(3)
print(res)
@hollowgrahm @Leminkay should be fixed in 50ac0fa9f9b3744c283eb9e21447e8c1b83ccb1e. please re-open if you run into any more issues
Error I get when running a test on an external function that accesses storage.