81853bd242
Release v0.20.0
...
DCO action / DCO (pull_request) Successful in 31s
Code generation / Generate wrappers (pull_request) Successful in 1m19s
Tests / Tests (pull_request) Successful in 1m28s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-09-30 12:37:12 +03:00
ba7329c3a7
[ #103 ] common: Disallow downgrading contracts
...
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
`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
5119f655fe
[ #82 ] common: Update version
...
DCO action / DCO (pull_request) Successful in 1m1s
Tests / Tests (1.20) (pull_request) Successful in 1m32s
Tests / Tests (1.19) (pull_request) Successful in 1m38s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-03-13 20:57:09 +03:00
d7cb550a5e
[ #53 ] common: Use interop.Hash160 in address producing functions
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-12-06 19:47:43 +03:00
d890a7eba4
[ #50 ] Replace interface{}
with any
...
DCO action / DCO (pull_request) Successful in 1m6s
Tests / Tests (1.19) (pull_request) Successful in 1m17s
Tests / Tests (1.20) (pull_request) Successful in 1m12s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-11-07 15:18:48 +03:00
6e9c770142
[ #50 ] Drop notaryless deploy parameter
...
DCO action / DCO (pull_request) Successful in 1m20s
Tests / Tests (1.20) (pull_request) Successful in 3m13s
Tests / Tests (1.19) (pull_request) Successful in 4m11s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-11-07 14:56:21 +03:00
2be81b1def
[ #42 ] common: Add routines for fixed-width uint64 marshaling
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-10-24 13:28:10 +03:00
Evgenii Stratonikov
e19fe15ed8
[ #19 ] common: Update current version
...
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
2023-04-13 11:24:52 +03:00
b9be2ac036
[ #7 ] Refactor common.CheckAlphabetWitness()
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2023-03-14 12:09:24 +03:00
d8530284fd
[ #7 ] Remove notary disabled code
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2023-03-14 12:09:22 +03:00
6b13a83736
[ #14 ] Bump contracts version
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2023-03-14 10:59:55 +03:00
Evgenii Stratonikov
beaef7b10d
[ #284 ] *: Update version and remove the old migration code
...
Less chances to forget anything in the next release.
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
2022-10-18 09:54:53 +03:00
Evgenii Stratonikov
7588f67496
Release v0.16.0
...
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
2022-10-17 14:14:33 +03:00
Evgenii Stratonikov
b62dae136e
[ #280 ] common: Update version number
...
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
2022-10-05 09:27:00 +03:00
Evgenii Stratonikov
564f147ea1
[ #252 ] Release v0.15.4
...
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
2022-07-27 12:14:20 +03:00
Evgenii Stratonikov
927fec8cdc
[ #251 ] Release v0.15.3
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-07-22 14:25:54 +03:00
Evgenii Stratonikov
a92ad8b8f0
[ #246 ] Release v0.15.2
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-06-07 14:14:29 +03:00
Elizaveta Chichindaeva
335b04d9a6
[ #240 ] English Check
...
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-04-26 23:22:06 +03:00
Alex Vanin
c75315808b
Release v0.15.1
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-04-13 15:43:24 +03:00
Alex Vanin
9ed3c538a0
[ #231 ] Lower minimal contract version update to v0.14.0
...
Main chain NeoFS contract was not updated to v0.14.2. Current
contract version is v0.14.0 However, there is no functional
changes between v0.14.0 and v0.14.2. To avoid NeoFS contract
update, this commit lowers minimal contract version.
All other contracts have been updated to v0.14.2 and they are not
affected by this change.
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-03-23 18:48:14 +03:00
Evgenii Stratonikov
1beee7eb0b
[ #228 ] common: Bump contract version
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-03-23 11:33:27 +03:00
Evgenii Stratonikov
aee1a5d77c
[ #222 ] common: Optimize RemoveVote
...
Use single `REMOVE` instead of multiple `APPEND` opcodes.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-03-23 11:33:27 +03:00
Evgenii Stratonikov
03afb80a14
[ #222 ] *: Replace IRNode with raw public keys
...
Only leave `IRNode` in neofs contract because it is public.
The newly added conversion in `AlphabetList` shouldn't be a problem
because this is a read method.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-03-23 11:33:27 +03:00
Alex Vanin
5758dadaa9
Release v0.14.2
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-02-07 19:08:48 +03:00
Evgenii Stratonikov
f530bdf721
Release v0.14.1
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-01-27 10:52:42 +03:00
Alex Vanin
f5531561b8
Release v0.14.0 - Geojedo (거제도, 巨濟島)
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-01-14 10:59:25 +03:00
Evgenii Stratonikov
1944a4332b
[ #202 ] *: remove owner from contract storage
...
It is no longer used and should've be removed on update.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-12-28 13:32:28 +03:00
Alex Vanin
8ea2c12fab
Release v0.13.2
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-12-14 10:30:35 +03:00
Alex Vanin
59eb422a72
Release v0.13.1
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-12-08 18:22:22 +03:00
Alex Vanin
3dc8bd8e7c
Release v0.13.0 - Sinjido (신지도, 薪智島)
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-12-07 15:57:31 +03:00
Pavel Karpy
9d0a82bc89
[ #190 ] common: Check NeoFS
role for the next block
...
Current height makes it impossible to change
role and make some operations in one block.
Also, it may lead to accepting some operations
that are approved by already not valid alphabet.
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-12-07 11:25:58 +03:00
Pavel Karpy
a2f5f7a74a
[ #184 ] *: Change panic
to Log
+ABORT
in OnNEP17Payment
...
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-12-02 13:09:50 +03:00
Pavel Karpy
2ee2344e5f
[ #184 ] *: Move all panics on witness checks in common
...
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-11-30 12:14:19 +03:00
Pavel Karpy
4961e9b436
[ #186 ] *: Add // V2 format
comment
...
Add `// V2 format` comment to V2 specific code
in contracts. In `subnet` contract change comment
to sync with other.
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-11-30 11:51:01 +03:00
Evgenii Stratonikov
da7f7eb88f
[ #164 ] *: provide version as the last argument
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-11-19 13:38:15 +03:00
Alex Vanin
b57f2ffe6b
Release v0.12.1
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-10-19 18:08:52 +03:00
Alex Vanin
5c58093a75
Release v0.12.0 - Udo (우도, 牛島)
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-10-15 15:11:45 +03:00
Alex Vanin
887512f526
Release v0.11.0 - Mungapdo (문갑도, 文甲島)
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-09-22 19:01:25 +03:00
Alex Vanin
378e69c015
[ #107 ] common: Check committee witness for contract update
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-09-22 11:06:48 +03:00
Alex Vanin
8bd25230fa
[ #118 ] *: Encode semver in version number
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-07-29 15:01:50 +03:00
Alex Vanin
4585f96acf
[ #75 ] Fix typos
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-05-19 11:54:17 +03:00
Alex Vanin
6e8bef671a
[ #74 ] balance: Support notary disabled work flow
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-05-05 12:27:24 +03:00
Alex Vanin
7317388b4d
[ #74 ] Return ballot collection functions
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-05-05 12:27:24 +03:00
Alex Vanin
e850d4fc78
[ #74 ] neofs: Remove unused code
...
All ballots and voting methods are gone. Multi signature
checks are used in all contracts.
Default global config values are also removed. Configuration
must be provided by initialization script.
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-05-05 12:27:24 +03:00
Alex Vanin
f884e3d665
[ #68 ] Use unified format for transferX details
...
Unified format uses transfer type as the first byte
and extra details next. List of transfer types used in
contracts defined in `transfer.go`. It includes:
- mint,
- burn,
- lock,
- unlock,
- container fee.
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-04-08 17:04:31 +03:00
Alex Vanin
23f5f1e0e7
[ #63 ] Fix threshold number calculation
...
`x*2/3` is not equal to `x/3*2` with integers.
The only correct way to calculate threshold is
the first one.
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-03-25 21:22:27 +03:00
Alex Vanin
c3a7c6ad23
[ #58 ] common: Remove unused functions
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-03-25 18:19:47 +03:00
Alex Vanin
4ace86e9b3
[ #58 ] common: Add getters for alphabet and IR nodes from chain
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-03-25 18:19:47 +03:00
Alex Vanin
97a5e27403
[ #59 ] Update to pre-released version of neo-go v0.94.0
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-03-17 11:23:11 +03:00
Alex Vanin
7ba5d50fd4
[ #59 ] proxy: Check committee address in Verify function
...
For committee operations in side chain we can't use 5\7 multi
address, instead we should use 4\7 for this case.
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-03-17 11:23:11 +03:00