neoneo-go/pkg/core/native/native_test
Anna Shaleva a6f52a7180 core: prohibit reentry to Notary withdraw
If we're withdrawing funds to contract that has onNEP17Payment method,
then it may call Notary's withdraw one more time, but the account's
state is not yet updated by this moment.

The problem is similar to https://github.com/neo-project/neo/pull/2734.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2024-03-18 17:08:32 +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 neotest: Add contract signer support 2023-12-01 10:50:08 +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: clear LastGasPerVote when voting for NULL 2024-03-15 10:51:32 +03:00
notary_test.go core: prohibit reentry to Notary withdraw 2024-03-18 17:08:32 +03:00
oracle_test.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
policy_test.go native: introduce attribute pricing 2023-11-21 13:42:56 +03:00