[#118] *: Encode semver in version number

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-07-29 14:44:53 +03:00 committed by Alex Vanin
parent a10f470311
commit 8bd25230fa
11 changed files with 19 additions and 29 deletions

View file

@ -32,8 +32,6 @@ type (
)
const (
version = 1
configuredKey = "initconfig"
notaryDisabledKey = "notary"
innerRingKey = "innerring"
@ -534,7 +532,7 @@ func ListConfig() []record {
// Version returns version of the contract.
func Version() int {
return version
return common.Version
}
func addToNetmap(ctx storage.Context, n storageNode) {