neoneo-go/pkg/core/native/native_test
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
..
helpers/policyhelper nativetest: migrate Policy contract tests to neotest 2022-01-14 16:34:33 +03:00
common_test.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
cryptolib_test.go examples: add compatibility example for Groth16 veification 2023-10-05 11:01:25 +03:00
designate_test.go *: introduce Genesis protocol configuration 2023-10-19 18:30:20 +03:00
gas_test.go core: review usages of (*intero.Context).BlockHeight method 2023-11-21 13:46:13 +03:00
ledger_test.go config: add a special Blockchain type to configure Blockchain 2022-12-07 17:35:53 +03:00
management_test.go Revert "core: remove contract script check on deploy/update" 2023-08-09 18:30:47 +03:00
neo_test.go native: prohibit NEP-17 roundtrip with zero balance 2023-11-07 19:37:37 +03:00
notary_test.go core: review usages of (*intero.Context).BlockHeight method 2023-11-21 13:46:13 +03:00
oracle_test.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
policy_test.go core: keep Policy cache always valid and up-to-date 2022-04-29 16:10:04 +03:00