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

Consistency in error CodespaceType #3940

Closed
kwunyeung opened this issue Mar 20, 2019 · 1 comment · Fixed by #3953
Closed

Consistency in error CodespaceType #3940

kwunyeung opened this issue Mar 20, 2019 · 1 comment · Fixed by #3953
Assignees
Labels
good first issue Type: Code Hygiene General cleanup and restructuring of code to provide clarity, flexibility, and modularity.

Comments

@kwunyeung
Copy link
Contributor

I found that the CodespaceType used in errors are not consistent in different modules. All modules are using lowercase module name but distr module is using DISTR.

DefaultCodespace sdk.CodespaceType = "DISTR"

Should all CodespaceType just use the module name like slashing does?

DefaultCodespace sdk.CodespaceType = ModuleName

@alexanderbez alexanderbez added good first issue Type: Code Hygiene General cleanup and restructuring of code to provide clarity, flexibility, and modularity. labels Mar 20, 2019
@alexanderbez
Copy link
Contributor

Good catch @kwunyeung!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Type: Code Hygiene General cleanup and restructuring of code to provide clarity, flexibility, and modularity.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants