Skip to content
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

Remove Info suffix from ecocredit state proto messages #1029

Closed
4 tasks
Tracked by #818
ryanchristo opened this issue Apr 18, 2022 · 1 comment · Fixed by #1040
Closed
4 tasks
Tracked by #818

Remove Info suffix from ecocredit state proto messages #1029

ryanchristo opened this issue Apr 18, 2022 · 1 comment · Fixed by #1040
Assignees
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

Comments

@ryanchristo
Copy link
Member

ryanchristo commented Apr 18, 2022

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 the Info 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, and BatchInfo to Class, Project, and Batch.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@ryanchristo ryanchristo added Status: Proposed Scope: x/ecocredit Issues that update the x/ecocredit module labels Apr 18, 2022
@aaronc
Copy link
Member

aaronc commented Apr 19, 2022

Sounds good to me 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants