spn icon indicating copy to clipboard operation
spn copied to clipboard

monitoring: create `QueryNetworkConnection` for monitoring consumer and provider

Open Pantani opened this issue 2 years ago • 4 comments

  • QueryNetworkConnection from monitoring-consumer fetches all information to put in monitoring-provider genesis state
  • QueryNetworkConnection from monitoring-provider fetches all information for the MsgCreateClient message

Information to fetch:

  • Client ID
  • Connection ID
  • Channel ID

Pantani avatar May 26 '22 06:05 Pantani

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

lumtis avatar May 26 '22 12:05 lumtis

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.

Pantani avatar May 26 '22 18:05 Pantani

For MsgCreateClient at a specific height:

  • consensus state
  • validator set
  • unbonding period
  • revision height
  • last reward height

Pantani avatar Jun 02 '22 23:06 Pantani

Hey @Pantani, I will tackle this one.

Don't hesitate to let me know if you had some work you wanted to push

lumtis avatar Jul 14 '22 14:07 lumtis