docs: minor cleanup to simulation docs (#21777)

Co-authored-by: Julián Toledano <JulianToledano@users.noreply.github.com>
This commit is contained in:
Marko
2024-09-18 09:33:14 +00:00
committed by GitHub
co-authored by Julián Toledano
parent c29bfb7bf9
commit 870cab5efd
4 changed files with 35 additions and 43 deletions
+1
View File
@@ -10,6 +10,7 @@ import (
"github.com/cosmos/cosmos-sdk/types/kv"
)
// NewStoreDecoderFuncFromCollectionsSchema returns a function that decodes two kv pairs when the module fully uses collections
func NewStoreDecoderFuncFromCollectionsSchema(schema collections.Schema) func(kvA, kvB kv.Pair) string {
colls := schema.ListCollections()
prefixes := make([][]byte, len(colls))