Skip to content

Commit

Permalink
feat: add consumer chain-id to provider info query
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaru Wang committed Aug 3, 2023
1 parent bcd1ac6 commit c1e8c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/ccv/consumer/keeper/provider_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (k Keeper) GetProviderChainInfo(ctx sdk.Context) (*types.QueryProviderInfoR

resp := types.QueryProviderInfoResponse{
Consumer: types.ChainInfo{
ChainID: "",
ChainID: ctx.ChainID(),
ClientID: consumerConnection.GetClientID(),
ConnectionID: consumerConnectionID,
ChannelID: consumerChannelID,
Expand Down

0 comments on commit c1e8c3f

Please sign in to comment.