Skip to content
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

Add additional encoding tests. #853

Merged
merged 2 commits into from
Jan 28, 2022
Merged

Conversation

winder
Copy link
Contributor

@winder winder commented Jan 27, 2022

Summary

Wrote some tests to check for an encoding issue which turned out to be a red herring. There is also some minor cleanup to the related code.

Test Plan

N/A

api/handlers.go Show resolved Hide resolved
require.NoError(t, err)

err = db.AddBlock(&block)
require.NoError(t, err, "failed to commit")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: is msg needed for noError?

cmd/validator/core/validator.go Show resolved Hide resolved
api/handlers_e2e_test.go Show resolved Hide resolved
@winder winder merged commit 2d978f0 into develop Jan 28, 2022
@winder winder deleted the will/fix-validator-name-compare branch January 28, 2022 17:16
This was referenced Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants