Remove unnecessary fields from events #1035
Labels
Scope: x/ecocredit
Issues that update the x/ecocredit module
Type: Refactor
A code change that neither fixes a bug nor adds a feature
Milestone
Summary
Events should return only the necessary information that can then be used to lookup relevant details (e.g. creating a project should emit an event that includes the project id so that the project information can be looked up using the id rather than the event including all the project information).
Problem Definition
Events are not intended to be used in place of queries and should only include the necessary information to look up more information with queries.
Proposal
Remove unnecessary fields from events.
For Admin Use
The text was updated successfully, but these errors were encountered: