Sick of using time.sleep
in integration/testnet tests? We are too!
#956
PatrickAlphaC
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
time.sleep
is really annoying to use when trying to run tests, because the Chainlink node could respond much earlier or much later than the time you give it.In our
chainlink-mix
we've added a new function inhelpful_scripts
calledlisten_for_event
, you can find the function here and an example of using it here.Here is the docstring that defines what the function does:
Additionally, we've added some quality of life improvements to verification. Happy coding!
Beta Was this translation helpful? Give feedback.
All reactions