From c4b5dfb0ad14d7d0a79f15b7e74b79f709e3d2a0 Mon Sep 17 00:00:00 2001 From: Lorenz Herzberger Date: Wed, 24 Jul 2024 14:13:57 +0200 Subject: [PATCH] fix: ConsensusVersion on machine module Signed-off-by: Lorenz Herzberger --- x/machine/module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/machine/module.go b/x/machine/module.go index db9a783..1bc1b34 100644 --- a/x/machine/module.go +++ b/x/machine/module.go @@ -149,7 +149,7 @@ func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.Raw } // ConsensusVersion is a sequence number for state-breaking change of the module. It should be incremented on each consensus-breaking change introduced by the module. To avoid wrong/empty versions, the initial version should be set to 1 -func (AppModule) ConsensusVersion() uint64 { return 2 } +func (AppModule) ConsensusVersion() uint64 { return 4 } // BeginBlock contains the logic that is automatically triggered at the beginning of each block func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock) {