style: rename error constant in solomachine light client #7990
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR improves code readability by renaming the error constant in the solomachine light client module to follow Go naming conventions. The change is purely cosmetic and does not affect functionality.
Changes made:
ErrInvalidSignatureAndData
toErrInvalidSignature_And_Data
inmodules/light-clients/06-solomachine/errors.go
This change improves code consistency and follows Go standards for constant naming.
closes: N/A (style improvement)
Targeting main branch as this is a style improvement
N/A - style improvement that doesn't require design discussion
The change specifically improves adherence to Go naming conventions
N/A - no functional changes that require testing
N/A - no user-facing changes or API modifications
N/A - error constant doesn't require additional documentation
Using style: prefix for naming convention changes
N/A - style changes don't require changelog entries
Single file change reviewed for accuracy