docs: minor cleanup to simulation docs (backport #21777) (#21796)

Co-authored-by: Marko <marko@baricevic.me>
This commit is contained in:
mergify[bot]
2024-09-18 11:49:17 +02:00
committed by GitHub
co-authored by Marko
parent dd554557ec
commit 02595f5539
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))