diff --git a/x/interchainqueries/types/genesis.go b/x/interchainqueries/types/genesis.go index a955f6e5f..9ec099a69 100644 --- a/x/interchainqueries/types/genesis.go +++ b/x/interchainqueries/types/genesis.go @@ -25,6 +25,7 @@ func (gs GenesisState) Validate() error { if seenIDs[val.Id] { return sdkerrors.Wrapf(ErrInvalidQueryID, "duplicate query id: %d", val.Id) } + seenIDs[val.Id] = true _, err = sdk.AccAddressFromBech32(val.Owner) if err != nil {