kurtosis-tech / zzz-deprecated-eth2-merge-kurtosis-module

Deprecated in favor of https://github.com/kurtosis-tech/eth2-package
29 stars 23 forks source link

Add Merge-Testnet-Verifier module #82

Closed marioevz closed 2 years ago

marioevz commented 2 years ago

Adds a merge testnet prober to the eth2 module, which gathers metrics from the EL and CL clients and compares the aggregated data points against a threshold to determine a PASS or FAIL outcome.

Source code for the module can be found here: https://github.com/marioevz/merge-testnet-prober

marioevz commented 2 years ago

I applied the suggestions, one thing that might still be missing is how to correctly process the verifier's exit code response in the enclave creation workflow -- at the moment it only prints an error, but does not abort the process with a failure.

The WaitForVerifications flag was added: When set to true, the module is created with the sleep 9999999 trick, then SeviceContext.ExecCommand() is used to wait for the process to verify everything and exit; When set to false, the testnet-verifier runs with the default entry-point and is spawned as a service.