neo-go/cli/smartcontract
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
..
testdata rpcbinding: check duplicating struct fields before binding generation 2023-08-11 17:48:54 +03:00
contract_test.go internal: avoid race access to config.Version by tests 2023-10-10 11:59:53 +03:00
generate.go cli: allow dynamic RPC binding contract hash 2023-06-01 16:06:28 +03:00
generate_test.go rpcbinding: check duplicating struct fields before binding generation 2023-08-11 17:48:54 +03:00
manifest.go *: always close the wallet after use 2022-09-02 14:44:32 +03:00
permission.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
smart_contract.go cli: fetch extended evet types from contract config 2023-05-31 15:53:41 +03:00
smart_contract_test.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00