neo-go/pkg
Roman Khimov 270f0d2d7a vm: fix incorrect refcounting in POPITEM
We're popping an item (array) off the stack, OK, it triggers refs.Remove() for
it. Then we're pushing an inner item to the stack, OK, it triggers refs.Add()
for this element. Why are we removing it afterwards? Looks like something went
wrong in 324107b31e (and https://github.com/nspcc-dev/neo-go/pull/1670)
since a simple test shows zero counter after POPITEM and -1 after popping the
only item left on the stack.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2024-11-16 18:03:25 +03:00
..
compiler *: fix some dupword warnings 2024-11-13 20:57:10 +03:00
config services: add new service for fetching blocks from NeoFS 2024-09-11 08:50:31 +04:00
consensus *: fix linter exhaustive errors 2024-09-26 13:29:03 +03:00
core core: a bit better field explanations for header/transaction 2024-11-15 11:27:21 +03:00
crypto *: improve for loop syntax 2024-08-30 21:45:18 +03:00
encoding *: improve for loop syntax 2024-08-30 21:45:18 +03:00
interop interop: fix linter issues 2024-10-11 12:41:06 +03:00
io io: specify Bytes() behavior a bit better for BufBinWriter 2024-11-05 16:58:33 +03:00
neorpc *: fix linter exhaustive errors 2024-09-26 13:29:03 +03:00
neotest neotest: sort coverage blocks within a test scope 2024-10-16 16:03:46 +03:00
network *: fix linter exhaustive errors 2024-09-26 13:29:03 +03:00
rpcclient *: fix some dupword warnings 2024-11-13 20:57:10 +03:00
services *: remove range usage from smartcontracts 2024-11-14 16:57:39 +03:00
smartcontract *: fix linter exhaustive errors 2024-09-26 13:29:03 +03:00
util *: improve for loop syntax 2024-08-30 21:45:18 +03:00
vm vm: fix incorrect refcounting in POPITEM 2024-11-16 18:03:25 +03:00
wallet *: use slices.Index/slices.Contains where appropriate 2024-08-27 08:24:52 +03:00