-
Notifications
You must be signed in to change notification settings - Fork 374
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
fix(tm2/gnovm): multi-msg overwrites previous event(s) #2030
fix(tm2/gnovm): multi-msg overwrites previous event(s) #2030
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2030 +/- ##
==========================================
+ Coverage 49.14% 49.26% +0.11%
==========================================
Files 576 576
Lines 77597 78318 +721
==========================================
+ Hits 38137 38585 +448
- Misses 36368 36611 +243
- Partials 3092 3122 +30
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Can you provide the code you used to get the block output from the PR description? |
oh result is actual chain result (:26657/block_results) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 💯
Could you add a test verifying the behavior? Thanks! |
2fffb57
to
6c292a2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay, I'm very confused by the baseapp code deleted but I think that if it was guarding against some important scenario then it should have had a test case. please fix the test and we're good to go.
Closes #2028
root cause:
defer
was used inside of loop that handles multi-msg. It was causing vm to use only last appended event valueAS-IS
TO-BE (in this PR)
FYI, unable to provide any test cases(unit test, integration test or txtar) due to lack of multi-msg testing.
Contributors' checklist...
BREAKING CHANGE: xxx
message was included in the description