-
Notifications
You must be signed in to change notification settings - Fork 59
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
test: chainReader
invalid config tests
#447
test: chainReader
invalid config tests
#447
Conversation
The structure is taken from this other PR that tests invalid config: Layr-Labs#447. This is done this way to make easier future merges
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.
LGTM
assert.NotNil(t, operatorDetails) | ||
assert.Equal(t, op.Address, operatorDetails.Address) | ||
assert.Equal(t, delay, operatorDetails.AllocationDelay) | ||
t.Logf("Operator details: %+v", operatorDetails) |
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 log has debugging purposes?
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.
Done 5b3acac
What Changed?
This PR introduces tests to cover edge cases, including:
Reviewer Checklist