From 105186a9fb07ebe15f89acc778670b49720b28ff Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 30 Apr 2025 14:09:37 -0400 Subject: [PATCH] chore: add note in `x/staking` about reserved keys from LSM modules (backport #24629) (#24631) Co-authored-by: Alex | Interchain Labs --- x/staking/types/keys.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x/staking/types/keys.go b/x/staking/types/keys.go index 3cc55825a1..4bf3ca0819 100644 --- a/x/staking/types/keys.go +++ b/x/staking/types/keys.go @@ -56,6 +56,9 @@ var ( ParamsKey = []byte{0x51} // prefix for parameters for module x/staking DelegationByValIndexKey = []byte{0x71} // key for delegations by a validator + + // NOTE: keys in range 0x81–0x87 were previously used in liquid staking forks of the staking module. + // Module developers MUST NOT use these keys and MUST consider them "reserved". ) // UnbondingType defines the type of unbonding operation