spn
spn copied to clipboard
monitoring: create `QueryNetworkConnection` for monitoring consumer and provider
-
QueryNetworkConnection
frommonitoring-consumer
fetches all information to put inmonitoring-provider
genesis state -
QueryNetworkConnection
frommonitoring-provider
fetches all information for theMsgCreateClient
message
Information to fetch:
- Client ID
- Connection ID
- Channel ID
Information to fetch: Client ID Connection ID Channel ID
I don't get this part, we want the information to create the clients? Therefore the information should be:
For monitoring-provider
:
- last reward height
- spn chain ID
- spn consensus state
- spn unbonding period
- spn revision height
For MsgCreateClient
at a specific height:
- consensus state
- validator set
- unbonding period
Great, that makes sense. I made a mistake. These queries will be fantastic, and we can also create one to fetch the client, connection, and channel id in only one question if they exist.
For MsgCreateClient
at a specific height:
- consensus state
- validator set
- unbonding period
- revision height
- last reward height
Hey @Pantani, I will tackle this one.
Don't hesitate to let me know if you had some work you wanted to push