From bed6de0cf47e0ca104202d09882c93dcc231a07a Mon Sep 17 00:00:00 2001 From: julienrbrt Date: Mon, 15 Jul 2024 20:00:54 +0000 Subject: [PATCH] chore(docs): deploy version v28.5.0 --- docs/versioned_docs/version-v28/06-migration/v28.0.0.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/versioned_docs/version-v28/06-migration/v28.0.0.md b/docs/versioned_docs/version-v28/06-migration/v28.0.0.md index 9c618fefd8..7ece1836f6 100644 --- a/docs/versioned_docs/version-v28/06-migration/v28.0.0.md +++ b/docs/versioned_docs/version-v28/06-migration/v28.0.0.md @@ -81,15 +81,15 @@ This guide provides a step-by-step process for developers to upgrade their appli - **Old Code**: ```go - store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.PostKey)) + store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.PostKey)) ``` - **New Code**: ```go - storeAdapter := runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)) - store := prefix.NewStore(storeAdapter, types.KeyPrefix(types.PostKey)) + storeAdapter := runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)) + store := prefix.NewStore(storeAdapter, types.KeyPrefix(types.PostKey)) ```