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

Add raw params querier #591

Merged
merged 4 commits into from Jun 23, 2020
Merged

Add raw params querier #591

merged 4 commits into from Jun 23, 2020

Conversation

rhuairahrighairidh
Copy link
Member

@rhuairahrighairidh rhuairahrighairidh commented Jun 17, 2020

Add a querier and cli method to retrieve raw param []byte values.

This makes it easier to compare current param values with governance proposals and verify there are no mistakes. Should be useful if we need to create proposals quickly in emergency scenarios.

Ideally this would live in the sdk params module, but we don't have access, so I put it in the committee module as it has access to the params keeper.

Could add a rest endpoint, but I couldn't think of a use case, so left it just as a cli cmd.

@rhuairahrighairidh rhuairahrighairidh added the R4R When a PR is ready for review label Jun 17, 2020
Copy link
Member

@karzak karzak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@denalimarsh
Copy link
Contributor

Fix conflicts before merge. With each PR now containing a changelog entry we're unfortunately gonna have a lot of these conflicts in CHANGELOG.md.

Copy link
Contributor

@denalimarsh denalimarsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK, see my other comment.

@karzak
Copy link
Member

karzak commented Jun 19, 2020

Fix conflicts before merge. With each PR now containing a changelog entry we're unfortunately gonna have a lot of these conflicts in CHANGELOG.md.

To avoid this, the merging author/reviewer should update the changelog right before merging.

@karzak karzak merged commit b539820 into master Jun 23, 2020
@karzak karzak deleted the ro-raw-params-query branch June 23, 2020 13:17
karzak pushed a commit that referenced this pull request Jul 7, 2020
* add raw-params cmd

* add querier test

* update changelog
karzak pushed a commit that referenced this pull request Jul 7, 2020
* add raw-params cmd

* add querier test

* update changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R4R When a PR is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants