frostfs-contract/common
Evgenii Stratonikov ba7329c3a7
All checks were successful
DCO action / DCO (pull_request) Successful in 37s
Tests / Tests (1.21) (pull_request) Successful in 1m11s
Tests / Tests (1.22) (pull_request) Successful in 1m11s
[#103] common: Disallow downgrading contracts
`PrevVersion` marks suitable version that we can upgrade from.
However, we can have multiple minor versions, so, currently an upgrade
from v0.19.3 to v0.19.1 is possible. Prevent this with an additional
check.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-08-19 13:57:03 +03:00
..
common.go [#50] Drop notaryless deploy parameter 2023-11-07 14:56:21 +03:00
ir.go [#53] common: Use interop.Hash160 in address producing functions 2023-12-06 19:47:43 +03:00
storage.go [#50] Replace interface{} with any 2023-11-07 15:18:48 +03:00
transfer.go [#50] Replace interface{} with any 2023-11-07 15:18:48 +03:00
update.go [#202] *: remove owner from contract storage 2021-12-28 13:32:28 +03:00
version.go [#103] common: Disallow downgrading contracts 2024-08-19 13:57:03 +03:00
witness.go [#7] Refactor common.CheckAlphabetWitness() 2023-03-14 12:09:24 +03:00