ethereum.nix
ethereum.nix copied to clipboard
Add tests for Lighthouse Validator
Add basic test for Lighthouse Validator. Pretty much just tests that the service starts up and doesn't crash immediately (see my comment on my last PR)
Not sure why mev-boost failed the build... I can't see anything in the logs available to me and it builds just fine locally.
@scottbot95 see the comment I've written and let's decide on a better approach rather than starting and stopping twice the service (which I'm totally fine if we introduce more checks in the middle).
@aldoborrero I updated the test for lighthouse validator tests per your suggestions. It's probably worth creating an issue to follow-up and update other tests/fill-in missing tests with this pattern. I wonder if it's also worth trying to formalize it in a CONTRIBUTING.md doc? Or maybe writing a re-usable python module or something? I'm not very familiar with python so not sure how feasible the latter is.