neoneo-go/cli
Anna Shaleva eeb439f548 internal: avoid race access to config.Version by tests
Network server constructor reads config.Version variable, and
testcli.DeployContract writes dummy config.Version which causes
race in tests. Avoid this race by moving config.Version initialisation
to a separate package and perform it inside test packages init().

Close #3011, close #3017.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2023-10-10 11:59:53 +03:00
..
app internal: avoid race access to config.Version by tests 2023-10-10 11:59:53 +03:00
cmdargs *: drop legacy addresses from examples 2023-05-31 18:32:02 +03:00
flags [#2442] English Check 2022-05-04 19:48:27 +03:00
input *: bump minimum supported go version 2022-08-08 13:59:32 +03:00
nep_test internal: avoid race access to config.Version by tests 2023-10-10 11:59:53 +03:00
options cli: allow to provide network-specific node config file 2023-05-16 13:23:55 +03:00
paramcontext context: define a constant for transaction context type 2022-09-08 14:33:04 +03:00
query services: allow multiple listen addresses for simple services 2022-12-07 11:23:01 +03:00
server core: split ErrAlreadyExists into ErrAlreadyExists and ErrAlreadyInPool 2023-08-16 12:36:56 +01:00
smartcontract internal: avoid race access to config.Version by tests 2023-10-10 11:59:53 +03:00
testdata vm: add PUSHT and PUSHF opcodes 2022-12-02 10:02:33 +03:00
txctx cli: deduplicate smartcontract/wallet tx confirm/sign/save/send 2022-10-06 23:03:32 +03:00
util cli: add util ops command 2023-04-12 17:12:18 +03:00
vm internal: avoid race access to config.Version by tests 2023-10-10 11:59:53 +03:00
wallet cli: ask for NEP2 account label if not provided 2023-01-26 08:50:06 +03:00
.gitignore Better error messages (#24) 2018-02-24 10:10:45 +01:00
main.go cli: move tests to subpackages 2022-10-06 09:21:26 +03:00