From 698f146acfa6afc5085abcb1cf9caa56d5de6fc5 Mon Sep 17 00:00:00 2001 From: trestin Date: Wed, 25 Sep 2024 10:09:31 +0800 Subject: [PATCH] fix non zero-based sequential constants --- x/avs/types/keys.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/x/avs/types/keys.go b/x/avs/types/keys.go index 4459e5586..dc6ca37c3 100644 --- a/x/avs/types/keys.go +++ b/x/avs/types/keys.go @@ -15,13 +15,11 @@ const ( // RouterKey defines the module's message routing key RouterKey = ModuleName - - // MemStoreKey defines the in-memory store key - MemStoreKey = "mem_avs" +) +const ( prefixAVSInfo = iota + 1 - prefixAVSOperatorInfo prefixParams - prefixAVSTaskInfo = iota + 1 + prefixAVSTaskInfo prefixOperatePub prefixAVSAddressToChainID LatestTaskNum