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

chore: In processSig, clarify the signature verification failed error message #1383

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

jefft0
Copy link
Contributor

@jefft0 jefft0 commented Nov 20, 2023

There are three ways that a signature verification can fail: bad account number, bad sequence number and wrong chain ID. The current error message says "verify correct account sequence and chain-id". This is confusing. For example, it may seem that "account sequence" is one thing. This PR clarifies the error message by adding commas: "verify correct account, sequence, and chain-id".

… message

Signed-off-by: Jeff Thompson <jeff@thefirst.org>
@github-actions github-actions bot added the 📦 🌐 tendermint v2 Issues or PRs tm2 related label Nov 20, 2023
Copy link

codecov bot commented Nov 20, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (1126d9f) 55.98% compared to head (af86087) 55.62%.

Files Patch % Lines
tm2/pkg/sdk/auth/ante.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1383      +/-   ##
==========================================
- Coverage   55.98%   55.62%   -0.37%     
==========================================
  Files         420      420              
  Lines       65443    65441       -2     
==========================================
- Hits        36640    36400     -240     
- Misses      25940    26188     +248     
+ Partials     2863     2853      -10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@zivkovicmilos zivkovicmilos left a comment

Choose a reason for hiding this comment

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

Thank you for the rephrasing 🙏

@thehowl thehowl merged commit 6688d1d into gnolang:master Nov 20, 2023
179 of 180 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 🌐 tendermint v2 Issues or PRs tm2 related
Projects
Status: Done
Status: No status
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants