Evgenii Stratonikov
05d372e882
[ #139 ] nns: check domain expiration for read functions
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-26 14:00:28 +03:00
Evgenii Stratonikov
552def9322
[ #139 ] nns: require admin signature for registering subdomain
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-26 14:00:28 +03:00
Evgenii Stratonikov
e0dbd07f21
[ #139 ] nns: replace root with TLD
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-26 14:00:28 +03:00
Evgenii Stratonikov
2cb10edfd2
[ #142 ] container: do not fail when deleting missing container
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-25 18:10:47 +03:00
Evgenii Stratonikov
6bd088aa9f
[ #142 ] container: panic on missing container
...
Return more descriptive error message for a user.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-25 18:10:47 +03:00
Evgenii Stratonikov
654fc371fd
[ #142 ] tests: fix container owner offset
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-25 18:10:47 +03:00
Evgenii Stratonikov
8c8e4a6d85
[ #156 ] container: fix domain owner check
...
Container contract owns all registered domains.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-22 09:08:13 +03:00
Evgenii Stratonikov
a9503b5cf8
Revert "[ #152 ] netmap: allow only alphabet calls in updateState
"
...
This reverts commit e1ee1c203c
.
2021-10-19 17:46:26 +03:00
Evgenii Stratonikov
81c12b3f24
Revert "[ #152 ] netmap: allow only alphabet calls in addPeer
"
...
This reverts commit c008910157
.
2021-10-19 17:46:26 +03:00
Evgenii Stratonikov
c5e026c6e7
[ #151 ] netmap: allow to update config values in _deploy
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-19 13:11:53 +03:00
Evgenii Stratonikov
c957b9ca69
[ #151 ] container: require additional fee for nice-name
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-19 13:11:53 +03:00
Evgenii Stratonikov
e1ee1c203c
[ #152 ] netmap: allow only alphabet calls in updateState
...
If notary is enabled only alphabet calls are expected.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-19 12:46:19 +03:00
Evgenii Stratonikov
c008910157
[ #152 ] netmap: allow only alphabet calls in addPeer
...
If notary is enabled only alphabet calls are expected.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-19 12:46:19 +03:00
Evgenii Stratonikov
a72392f672
[ #146 ] netmap: allow to update peer info
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-19 12:02:19 +03:00
Evgenii Stratonikov
7fe7188e7d
[ #150 ] container: allow only alphabet calls in SetEACL
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-19 11:51:16 +03:00
Evgenii Stratonikov
0ef906fb03
[ #150 ] container: allow only alphabet calls in Delete
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-19 11:51:16 +03:00
Evgenii Stratonikov
e5c5cc30c0
[ #150 ] container: make config key public
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-19 11:51:16 +03:00
Evgenii Stratonikov
fef6a6cb36
[ #150 ] container: check domain owner in Put
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-19 11:51:16 +03:00
Evgenii Stratonikov
16f3281198
[ #150 ] tests: add container type in tests
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-19 11:51:16 +03:00
Evgenii Stratonikov
a7601334f7
[ #150 ] container: allow only alphabet calls in Put
...
For notary-enabled environment we expect `put` to be signed by alphabet.
Also group notary-disabled logic inside a single if and
add tests for balance checks.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-19 11:51:16 +03:00
Evgenii Stratonikov
cd005e54a4
[ #135 ] tests: check container nice-name registration
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-07 12:25:19 +03:00
Evgenii Stratonikov
b5d5963b38
[ #135 ] tests: cache compiled contracts
...
Speedup tests a bit.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-07 12:25:19 +03:00
Evgenii Stratonikov
6a6d377259
[ #137 ] tests: implement contract testing framework
...
Create simple running blockchain node with a single validator and
test both contract deployment and method invocations.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-05 10:01:27 +03:00