Browse Source
update default App Version in genesis
pull/8068/head
jay tseng
3 years ago
No known key found for this signature in database
GPG Key ID: 5A9D3063305E6427
2 changed files with
4 additions and
2 deletions
-
config/toml.go
-
types/params.go
|
|
@ -612,7 +612,9 @@ var testGenesisFmt = `{ |
|
|
|
"ed25519" |
|
|
|
] |
|
|
|
}, |
|
|
|
"version": {} |
|
|
|
"version": { |
|
|
|
"app_version": "1" |
|
|
|
} |
|
|
|
}, |
|
|
|
"validators": [ |
|
|
|
{ |
|
|
|
|
|
@ -123,7 +123,7 @@ func DefaultValidatorParams() ValidatorParams { |
|
|
|
|
|
|
|
func DefaultVersionParams() VersionParams { |
|
|
|
return VersionParams{ |
|
|
|
AppVersion: 0, |
|
|
|
AppVersion: 1, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|