-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
about event type message inside x/bank #17269
Comments
The PR you mentioned only removed events from the message server. These two snippets are from bank keeper. As those functions can be and are used by modules, we could be losing information. |
One can get the sender information in the both cases. In the first case,
I agree. However, other modules are already using its message server, e.g. x/authz and x/group. So we are losing the information by the PR, technically. So if there is no strict requirement on it, maybe we can consider removing it from the keeper too. |
This makes sense to me! Do you want to open a PR? |
Thank you! I will submit the corresponding PR. |
Looking around #13532, which I think is a nice refactoring, I found some events left behind.
cosmos-sdk/x/bank/keeper/send.go
Lines 140 to 143 in e3a0486
cosmos-sdk/x/bank/keeper/send.go
Lines 211 to 214 in e3a0486
I'm not sure whether it is a bug or not. Is it intentional, like for the backward-compatibility? Or it would be better to remove them.
The text was updated successfully, but these errors were encountered: