-
Notifications
You must be signed in to change notification settings - Fork 31
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
refactor(x/bank): remove message events including sender
attribute whose information is already present in the relevant events (backport cosmos/cosmos#17273)
#1066
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
39d02b3
to
62c6a4d
Compare
…whose information is already present in the relevant events (#17273)
f24d77a
to
29bf70d
Compare
353de61
to
2afab69
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## release/v0.47.x #1066 +/- ##
===================================================
+ Coverage 62.04% 62.14% +0.10%
===================================================
Files 655 655
Lines 78983 78866 -117
===================================================
+ Hits 49004 49011 +7
+ Misses 27293 27169 -124
Partials 2686 2686
|
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.
I think the AttributeKeySender
of bank module is no need.
finschia-sdk/x/bank/types/events.go
Line 12 in 2afab69
AttributeKeySender = "sender" |
The attribute is still in use, e.g. in |
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.
Update the unit test.
Update x/authz test
But I think it can be changed finschia-sdk/x/bank/keeper/send.go Line 158 in ba75f8e
|
…whose information is already present in the relevant events (backport cosmos/cosmos#17273) (Finschia#1066) * refactor(x/bank): remove message events including `sender` attribute whose information is already present in the relevant events (#17273) * Update CHANGELOG.md * Update x/foundation tests * Update CHANGELOG.md * Update x/foundation tests * Update other tests * Apply suggestions from code review Update x/authz test * Use sdk.AttributeKeySender in x/bank type
…whose information is already present in the relevant events (backport #1066) (#1093) * refactor(x/bank): remove message events including `sender` attribute whose information is already present in the relevant events (backport cosmos/cosmos#17273) (#1066) * refactor(x/bank): remove message events including `sender` attribute whose information is already present in the relevant events (#17273) * Update CHANGELOG.md * Update x/foundation tests * Update CHANGELOG.md * Update x/foundation tests * Update other tests * Apply suggestions from code review Update x/authz test * Use sdk.AttributeKeySender in x/bank type * Update CHANGELOG.md * Update unit test
Description
This patch would remove duplicate
message
events in x/bank keeper.You may refer to the PR in the upstream.
Checklist:
CHANGELOG.md
client/docs/swagger-ui/swagger.yaml