Remove Info suffix from ecocredit state proto messages #1029
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
In order to create human-readable query responses for the ecocredit module (#1022), we need to create a new proto message for each query response (i.e. we are currently using state proto messages that represent addresses as bytes and that include identifiers only meant to be used internally).
The state messages already use the
Info
suffix, which seems like a potentially fitting suffix to add to the query proto messages that include human-readable information about the item queried. Also, the removal of theInfo
suffix from the state proto messages has been requested for other reasons (see #1004 (comment)).Problem Definition
The
Info
suffix is being used for state proto messages that include information that is not human-readable.Proposal
Rename
ClassInfo
,ProjectInfo
, andBatchInfo
toClass
,Project
, andBatch
.For Admin Use
The text was updated successfully, but these errors were encountered: