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

Expose precheck errors from tx #4996

Merged
merged 5 commits into from
Sep 11, 2019
Merged

Conversation

tnachen
Copy link
Contributor

@tnachen tnachen commented Sep 4, 2019

closes: #4972


  • Targeted PR against correct branch (see CONTRIBUTING.md)

  • Linked to github-issue with discussion and accepted design OR link to spec that describes this work.

  • Wrote tests

  • Updated relevant documentation (docs/)

  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md

  • Re-reviewed Files changed in the github PR explorer


For Admin Use:

  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)
  • Reviewers Assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

@codecov
Copy link

codecov bot commented Sep 4, 2019

Codecov Report

Merging #4996 into master will decrease coverage by 0.7%.
The diff coverage is 90.9%.

@@            Coverage Diff            @@
##           master   #4996      +/-   ##
=========================================
- Coverage   55.51%   54.8%   -0.71%     
=========================================
  Files         287     291       +4     
  Lines       17539   17840     +301     
=========================================
+ Hits         9737    9778      +41     
- Misses       7102    7358     +256     
- Partials      700     704       +4

Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

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

Thanks @tnachen, looks great! Left some feedback ☕️

types/errors.go Outdated Show resolved Hide resolved
client/context/broadcast.go Outdated Show resolved Hide resolved
client/context/broadcast.go Outdated Show resolved Hide resolved
client/context/broadcast.go Outdated Show resolved Hide resolved
client/context/broadcast.go Outdated Show resolved Hide resolved
client/context/broadcast.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@fedekunze fedekunze left a comment

Choose a reason for hiding this comment

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

minor nit. Otherwise LGTM

client/context/broadcast.go Outdated Show resolved Hide resolved
client/context/broadcast.go Show resolved Hide resolved
Copy link
Collaborator

@fedekunze fedekunze left a comment

Choose a reason for hiding this comment

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

ACK. As a suggestion please try to not force-push so reviewers won't need to re-review the whole PR (just the new diffs from the latest comments).

Copy link
Member

@jackzampolin jackzampolin left a comment

Choose a reason for hiding this comment

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

Nice UX improvement here @tnachen!

@tnachen
Copy link
Contributor Author

tnachen commented Sep 11, 2019

@alexanderbez changed to use string matching now.

Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

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

testedACK ⚡️

@alexanderbez alexanderbez merged commit 5bcab79 into master Sep 11, 2019
@alexanderbez alexanderbez deleted the tim/4972-broadcast-errors branch September 11, 2019 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Intercept and Format Tendermint Broadcast Errors
5 participants