mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 13:41:37 +00:00
90582faacd
v.estack is used throughout the code to work with estack, while ctx.sc.estack is (theoretically) just a reference to it that is saved on script load and restored to v.estack on context unload. The problem is that v.estack can grow as we use it and can be reallocated away from its original slice (saved in the ctx.sc.estack), so either ctx.sc.estack should be a pointer or we need to ensure that it's correct when loading a new script. The second approach is a bit safer for now and it fixes #2798. |
||
---|---|---|
.. | ||
emit | ||
invocations | ||
opcode | ||
stackitem | ||
testdata | ||
vmstate | ||
bench_test.go | ||
context.go | ||
contract_checks.go | ||
contract_checks_test.go | ||
debug_test.go | ||
exception.go | ||
fuzz_test.go | ||
invocation_tree_test.go | ||
json_test.go | ||
opcodebench_test.go | ||
ref_counter.go | ||
ref_counter_test.go | ||
slot.go | ||
slot_test.go | ||
stack.go | ||
stack_test.go | ||
vm.go | ||
vm_test.go |