You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing event filters sucks. Either we depend on eth-tester which probably/maybe implements the filter logic correctly, or we use geth which results in flaky tests and the bad kind of black-box testing since when things fail we don't really have any good way to know why...
If we were to extract these two bits plus some other support code into something stand-alone that is more like a library then we should be able to use this for testing our log filter code.
The text was updated successfully, but these errors were encountered:
What was wrong?
Testing event filters sucks. Either we depend on
eth-tester
which probably/maybe implements the filter logic correctly, or we usegeth
which results in flaky tests and the bad kind of black-box testing since when things fail we don't really have any good way to know why...How can it be fixed?
I recently wrote this: https://github.com/ethereum/cthaeh
The most relevant parts are:
If we were to extract these two bits plus some other support code into something stand-alone that is more like a library then we should be able to use this for testing our log filter code.
The text was updated successfully, but these errors were encountered: