You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe there is a way. If I understand correctly, the information you want is simply the current value of the max_expected_time_per_block, not necessarily the genesis value (since it is a param, gov can change it over time). If so, params has it's own grpc. I believe the subspace is "ibc" (I may be mistaken), and the key is this
The SDK has plans to remove x/params in the future, so future versions may require IBC to manage our own parameters, in which case we will expose a similar grpc for retrieving this value
I opened #2069. We will try to integrate this gRPC early so that when x/params are deprecated, most chains should support the params gRPC associated with 03-connection
Thanks Colin & Carlos for shepherding this request.
I think the present issue #1628 can be closed in favor of #2069. The latter issue should be sufficient for operator needs, in particular for informalsystems/hermes#2037 and implementation of connection delay.
Summary
Is there a way to query for GenesisState of connection?
ibc-go/proto/ibc/core/connection/v1/genesis.proto
Line 11 in d059913
In the relayer implementation, we need to programatically obtain the
Params
in there.Problem Definition
Why do we need this feature?
We need the
Params
specifically formax_expected_time_per_block
which is essential in the implementation of connection (block) delayProposal
For Admin Use
The text was updated successfully, but these errors were encountered: