neoneo-go/pkg/core
Anna Shaleva c43cfae24c native: fix Policy's IsBlocked behaviour
Account is blocked when it's in the Policy's storage, not when it's
missing from the Policy storage. Introduced in
bbbc6805a8.

This bug leads to the fact that during native Neo cache initialization
at the last block in the dBFT epoch, all candidates accounts are
"blocked", and thus, stand-by committee and validators are used in the
subsequent new epoch. Close #3424.

This bug may lead to the consequences described in #3273, but it needs
to be confirmed.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2024-05-17 12:33:51 +03:00
..
block consensus: fetch dbft pre-0.2.0 version 2024-03-25 19:21:50 +03:00
chaindump *: use require.ErrorIs instead of require.True(t, error.Is()) 2023-05-04 17:03:47 +03:00
dao dao: do not remove block executable by conflict record stub 2024-05-16 12:13:41 +03:00
fee vm: add ABORTMSG and ASSERTMSG opcodes 2023-08-10 12:41:30 +03:00
interop native: make Oracle service handle native Oracle updates 2024-04-25 13:26:54 +03:00
mempool *: replace go.uber.org/atomic with sync/atomic 2023-10-12 17:59:34 +03:00
mempoolevent *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
mpt *: replace slice.Copy with bytes.Clone 2024-03-05 13:54:10 +03:00
native native: fix Policy's IsBlocked behaviour 2024-05-17 12:33:51 +03:00
state state: drop NativeContract, fix #3430 2024-05-16 18:46:46 +03:00
stateroot *: replace go.uber.org/atomic with sync/atomic 2023-10-12 17:59:34 +03:00
statesync *: replace slice.Copy with bytes.Clone 2024-03-05 13:54:10 +03:00
storage storage: bytes.Clone(nil) == nil 2024-05-16 19:29:11 +03:00
test_data core: refactor helper test contracts generation 2022-03-30 11:46:29 +03:00
transaction dao: fix transaction application log decoding 2024-05-16 12:13:41 +03:00
basic_chain_test.go config: add a special Blockchain type to configure Blockchain 2022-12-07 17:35:53 +03:00
bench_test.go core: make GetHeaderHash accept uint32 2022-11-25 14:30:51 +03:00
blockchain.go Merge pull request #3439 from nspcc-dev/getnativecontracts 2024-05-17 10:23:45 +03:00
blockchain_core_test.go core: distinguish empty Hardforks map from nil 2024-04-25 13:26:54 +03:00
blockchain_neotest_test.go native: fix Policy's IsBlocked behaviour 2024-05-17 12:33:51 +03:00
doc.go *: apply go 1.19 formatter heuristics 2022-08-09 15:37:52 +03:00
headerhashes.go *: use v2 LRU, fix #3322 2024-03-05 18:39:17 +03:00
helper_test.go *: add GenesisTransaction extension to the protocol configuration 2023-10-19 18:33:50 +03:00
interops.go core: add System.Runtime.CurrentSigners syscall 2023-11-20 14:46:27 +03:00
native_designate_test.go *: introduce Genesis protocol configuration 2023-10-19 18:30:20 +03:00
prometheus.go core: distinguish notarypool/mempool metrics 2023-04-13 18:40:19 +03:00
util.go *: add GenesisTransaction extension to the protocol configuration 2023-10-19 18:33:50 +03:00
util_test.go *: add GenesisTransaction extension to the protocol configuration 2023-10-19 18:33:50 +03:00