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

remove duplicate events from previous messages #5208

Merged
merged 1 commit into from
Oct 16, 2019

Conversation

alexanderbez
Copy link
Contributor

@alexanderbez alexanderbez commented Oct 16, 2019

closes: #5200


  • 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)


// stop execution and return on first failed message
if !msgResult.IsOK() {
msgLogs = append(msgLogs, sdk.NewABCIMessageLog(uint16(i), false, msgResult.Log, events))
msgLogs = append(msgLogs, sdk.NewABCIMessageLog(uint16(i), false, msgResult.Log, msgEvents))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

bugfix is here


code = msgResult.Code
codespace = msgResult.Codespace
break
}

msgLogs = append(msgLogs, sdk.NewABCIMessageLog(uint16(i), true, msgResult.Log, events))
msgLogs = append(msgLogs, sdk.NewABCIMessageLog(uint16(i), true, msgResult.Log, msgEvents))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

...and here

@codecov
Copy link

codecov bot commented Oct 16, 2019

Codecov Report

Merging #5208 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #5208      +/-   ##
==========================================
+ Coverage   53.42%   53.44%   +0.01%     
==========================================
  Files         290      290              
  Lines       17711    17714       +3     
==========================================
+ Hits         9462     9467       +5     
+ Misses       7510     7508       -2     
  Partials      739      739

@alexanderbez alexanderbez merged commit 97eac17 into master Oct 16, 2019
@alexanderbez alexanderbez deleted the bez/5200-fix-dup-events branch October 16, 2019 15:00
@alexanderbez alexanderbez mentioned this pull request Oct 29, 2019
5 tasks
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.

Events Duplicated on Multi-Msg Txs
2 participants