neo-go/pkg/core/native/native_test
Roman Khimov 1b83dc2476 *: improve for loop syntax
Mostly it's about Go 1.22+ syntax with ranging over integers, but it also
prefers ranging over slices where possible (it makes code a little better to
read).

Notice that we have a number of dangerous loops where slices are mutated
during loop execution, many of these can't be converted since we need proper
length evalutation at every iteration.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2024-08-30 21:45:18 +03:00
..
helpers/policyhelper nativetest: migrate Policy contract tests to neotest 2022-01-14 16:34:33 +03:00
common_test.go *: fix linter issues 2024-08-14 12:36:15 +03:00
cryptolib_test.go interop: add keccak256 implementation 2024-03-22 17:15:43 +03:00
cryptolib_verification_test.go *: use slices package for sorting and searching 2024-08-27 12:29:44 +03:00
designate_test.go *: use slices package for sorting and searching 2024-08-27 12:29:44 +03:00
gas_test.go core: review usages of (*intero.Context).BlockHeight method 2023-11-21 13:46:13 +03:00
ledger_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
management_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
neo_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
notary_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
oracle_test.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
policy_test.go native: introduce attribute pricing 2023-11-21 13:42:56 +03:00