neo-go/pkg/vm/opcode
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
..
from_string.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
isvalid_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
opcode.go vm: add ABORTMSG and ASSERTMSG opcodes 2023-08-10 12:41:30 +03:00
opcode_string.go vm: add ABORTMSG and ASSERTMSG opcodes 2023-08-10 12:41:30 +03:00
opcode_test.go vm: add MODMUL and MODPOW opcodes 2022-05-12 14:25:14 +03:00