neo-go/pkg/core/interop/runtime
Anna Shaleva 3b11f98cd0 core: review usages of (*intero.Context).BlockHeight method
This method returns persisted block height and doesn't take into account
persisting block height. Some of the callers of this method relay on
the wrong assumption that BlockHeight() returns persisting block index.

Fix improper usages of this method and adjust tests. Ref.
61a066583e/src/Neo/SmartContract/ApplicationEngine.cs (L634).

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2023-11-21 13:46:13 +03:00
..
engine.go core: add System.Runtime.CurrentSigners syscall 2023-11-20 14:46:27 +03:00
engine_test.go core: add System.Runtime.CurrentSigners syscall 2023-11-20 14:46:27 +03:00
ext_test.go core: review usages of (*intero.Context).BlockHeight method 2023-11-21 13:46:13 +03:00
util.go Merge pull request #2525 from nspcc-dev/immutable-items 2022-05-31 10:36:56 +03:00
util_test.go vm: support immutable compound types 2022-05-31 08:07:50 +03:00
witness.go interop/vm: use more robust CalledByEntry check 2022-08-05 14:35:00 +03:00