-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/add dec monitor #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me if you could additionally add the following:
- a docker compose service that runs this test specifically
- README instructions to run the test
- Instead of printing the statistics, could you please log them to an external file, such as the blame file in the gnosis continuous test?
- The test stops if there is an error from the API (such as the keyper not being reachable) and this is not reflected in the results, if you can add this fix as well. We should see the number of successful attempts, the number of failures and the errors corresponding to these failures.
- Add the possibility to run the test for different configs in parallel (i.e for both chiado and mainnet in parallel).
tests/decryptionmonitor.go
Outdated
| waitDuration := time.Until(decryptTime.Add(2 * time.Second)) | ||
|
|
||
| time.Sleep(waitDuration) | ||
| seconds, err := strconv.Atoi(os.Getenv("DEC_KEY_WAIT_INTERVAL")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please update this to be in ms? Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is in accordance with gnosis chain timestamps, so not sure what is the reason for us to change it to ms.
|
@ylembachar added the additional functionalities mentioned above. For |
Closes #20