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

Allow users to specify AppState in genesis RPC #1106

Open
hu55a1n1 opened this issue Mar 17, 2022 · 2 comments
Open

Allow users to specify AppState in genesis RPC #1106

hu55a1n1 opened this issue Mar 17, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@hu55a1n1
Copy link
Member

Version(s) of tendermint-rs: v0.23.x

Description

The Client::genesis() function currently returns the genesis app state as a serde_json::Value (https://github.com/informalsystems/tendermint-rs/blob/v0.23.5/rpc/src/client.rs#L232). It would be nice if the API users could decide the type of the app state.

Definition of "done"

Users are able to specify concrete types for genesis App state.

@hu55a1n1 hu55a1n1 added the enhancement New feature or request label Mar 17, 2022
@thanethomson
Copy link
Contributor

Is this exclusively relevant to v0.23.x, or should this feature still be available in newer versions of tendermint-rs?

@hu55a1n1
Copy link
Member Author

We need this for informalsystems/hermes#1917 (so v0.23.x), but I think it will be nice to have this feature in newer versions as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants