Skip to content

Commit

Permalink
fix: Set AppVersion/ProtocolVersion [DEV-2112] (#518)
Browse files Browse the repository at this point in the history
* Set AppVersion/ProtocolVersion

* Update lint.yml

* lint all codebase to see what happens

* Revert "lint all codebase to see what happens"

This reverts commit a4d7b00.
  • Loading branch information
ankurdotb authored Jan 23, 2023
1 parent f6b4cd5 commit 014f745
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ func New(
)
bApp.SetCommitMultiStoreTracer(traceStore)
bApp.SetVersion(version.Version)
bApp.SetProtocolVersion(ProtocolVersion)
bApp.SetInterfaceRegistry(interfaceRegistry)

keys := sdk.NewKVStoreKeys(
Expand Down
4 changes: 3 additions & 1 deletion app/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ const (
Name = "cheqd-node"
Home = ".cheqdnode"

UpgradeName = "v1"
// Set ProtocolVersion to app's major version number
ProtocolVersion = 1
UpgradeName = "v1"

// allowed msg types of ica host
authzMsgExec = "/cosmos.authz.v1beta1.MsgExec"
Expand Down

0 comments on commit 014f745

Please sign in to comment.