Browse Source

update default App Version in genesis

pull/8068/head
jay tseng 3 years ago
parent
commit
a88b0cf02f
No known key found for this signature in database GPG Key ID: 5A9D3063305E6427
2 changed files with 4 additions and 2 deletions
  1. +3
    -1
      config/toml.go
  2. +1
    -1
      types/params.go

+ 3
- 1
config/toml.go View File

@ -612,7 +612,9 @@ var testGenesisFmt = `{
"ed25519"
]
},
"version": {}
"version": {
"app_version": "1"
}
},
"validators": [
{


+ 1
- 1
types/params.go View File

@ -123,7 +123,7 @@ func DefaultValidatorParams() ValidatorParams {
func DefaultVersionParams() VersionParams {
return VersionParams{
AppVersion: 0,
AppVersion: 1,
}
}


Loading…
Cancel
Save