From 952725756cf203b26d75729326a50a99aa054b31 Mon Sep 17 00:00:00 2001 From: Tom Langer Date: Tue, 26 Sep 2023 12:53:30 +0200 Subject: [PATCH] Update migrations.go --- x/compute/internal/keeper/migrations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/compute/internal/keeper/migrations.go b/x/compute/internal/keeper/migrations.go index 24de79114..9e02368fc 100644 --- a/x/compute/internal/keeper/migrations.go +++ b/x/compute/internal/keeper/migrations.go @@ -87,7 +87,7 @@ func (m Migrator) Migrate4to5(ctx sdk.Context) error { // Pre v1.11 contracts don't have a history, so we'll add an initial history entry for them. // This is required for the hardcode admin feature to work. - // This will also prevent an inconstant state between pre v1.11 and post v1.11 contracts. + // This will also prevent an inconsistent state between pre v1.11 and post v1.11 contracts. contractHistory := m.keeper.GetContractHistory(ctx, contractAddress) if len(contractHistory) == 0 { historyEntry := contractInfo.InitialHistory(nil)