cosmos / cosmos/interchain-security

nit: better distinguish between `ConsumerValidatorBytePrefix` and `ConsumerValidatorsBytePrefix`

Open
#2,087 9 comments 0 reactions 0 assignees View on GitHub
good first issue type: tech-debt
Dominant language
Go
Stars
195
Forks
166
PR merge metrics
No merged PRs in 30d

Description

## Problem

Byte prefixes [`ConsumerValidatorsBytePrefix`](https://github.com/cosmos/interchain-security/blob/v5.1.0/x/ccv/provider/types/keys.go#L117) and [`ConsumerValidatorBytePrefix`](https://github.com/cosmos/interchain-security/blob/v5.1.0/x/ccv/provider/types/keys.go#L152) almost have the same name although they're used when storing vastly different things.

This issue is just a reminder to clean up their naming so it's not as confusing.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.