neoneo-go/pkg/core/interop
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
..
contract core: review usages of (*intero.Context).BlockHeight method 2023-11-21 13:46:13 +03:00
crypto dao: simplify NewSimple() 2023-09-04 16:56:59 +03:00
interopnames core: add System.Runtime.CurrentSigners syscall 2023-11-20 14:46:27 +03:00
iterator rpc: implement iterator sessions 2022-07-08 17:05:18 +03:00
runtime core: review usages of (*intero.Context).BlockHeight method 2023-11-21 13:46:13 +03:00
storage *: use require.ErrorIs instead of require.True(t, error.Is()) 2023-05-04 17:03:47 +03:00
context.go core: review usages of (*intero.Context).BlockHeight method 2023-11-21 13:46:13 +03:00
context_test.go core: adjust hardfork enabling logic 2023-08-25 18:24:15 +03:00
doc.go *: add more package-specific documentation 2021-03-19 16:18:45 +03:00
gas_price.go interop: fetch baseExecFee once and keep it in the Context 2021-08-11 15:42:23 +03:00