neo-go/pkg/core/interop
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
..
contract *: improve for loop syntax 2024-08-30 21:45:18 +03:00
crypto *: improve error text for System.Crypto.CheckMultisig handling 2024-03-25 19:16:21 +03:00
interopnames core: add System.Runtime.CurrentSigners syscall 2023-11-20 14:46:27 +03:00
iterator *: fix linter issues 2024-08-14 12:36:15 +03:00
runtime *: improve for loop syntax 2024-08-30 21:45:18 +03:00
storage *: improve for loop syntax 2024-08-30 21:45:18 +03:00
context.go *: use cmp.Or where appropriate 2024-08-30 17:00:11 +03:00
context_test.go core: adjust hardfork enabling logic 2023-08-25 18:24:15 +03:00
doc.go *: add more package-specific documentation 2021-03-19 16:18:45 +03:00
gas_price.go interop: fetch baseExecFee once and keep it in the Context 2021-08-11 15:42:23 +03:00