Skip to content

Commit

Permalink
Return 1 for intiial version
Browse files Browse the repository at this point in the history
  • Loading branch information
amaury1093 committed Feb 8, 2021
1 parent 8f3b9d4 commit 29b85b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/mocks/types_module_module.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion types/module/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func (gam GenesisOnlyAppModule) RegisterServices(Configurator) {}
// module. It should be incremented on each consensus-breaking change
// introduced by the module. To avoid wrong/empty versions, the initial version
// is set to 1.
func (gam GenesisOnlyAppModule) ConsensusVersion() uint64 { return 0 }
func (gam GenesisOnlyAppModule) ConsensusVersion() uint64 { return 1 }

// BeginBlock returns an empty module begin-block
func (gam GenesisOnlyAppModule) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock) {}
Expand Down

0 comments on commit 29b85b7

Please sign in to comment.