vyperlang/titanoboa

feature: `boa.env.expect_event()`

Open

#153 opened on Feb 14, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (75 forks)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (312 stars)
PR merge metrics
 (PR metrics pending)

Description

add a new contextmanager, boa.env.expect_event(...), which raises an exception if the event isn't emitted in one of the computations inside the block.

Contributor guide