scripts icon indicating copy to clipboard operation
scripts copied to clipboard

Correct validators data in VEBO tests

Open Psirex opened this issue 1 year ago • 0 comments

Here is an improved and corrected version of the text:

  • In the tests for the validator exit bus, the commonly used getLastRequestedValidatorIndices() method does not handle cases where it returns -1. It is recommended to add an assert() to ensure that the returned value is not equal to -1. For instance, the check should be added in this example: test_veb_negative.py, Line 229.

  • In some tests where a LidoValidator is created, an incorrect (validator_key, validator_id) pair is used. This can cause issues during test execution. An example of this can be found here: test_validator_exit_bus_happy_path.py, Line 86.

Psirex avatar Oct 08 '24 08:10 Psirex