neoneo-go/pkg
Roman Khimov 294a70646e core: lock block addition on state jump
It should be performed before we're able to process blocks or before we
shutdown (which uses addition lock), fix

panic: assignment to entry in nil map

goroutine 5755 [running]:
github.com/nspcc-dev/neo-go/pkg/core/storage.(*MemoryStore).drop(...)
        /home/rik/dev/neo-go/pkg/core/storage/memory_store.go:74
github.com/nspcc-dev/neo-go/pkg/core/storage.(*MemoryStore).PutChangeSet(0xc00093e700, 0xc0002051a0, 0xc000205200, 0x1, 0x1)
        /home/rik/dev/neo-go/pkg/core/storage/memory_store.go:100 +0x25c
github.com/nspcc-dev/neo-go/pkg/core/storage.(*MemoryStore).PutBatch(...)
        /home/rik/dev/neo-go/pkg/core/storage/memory_store.go:90
github.com/nspcc-dev/neo-go/pkg/core.(*Blockchain).removeOldStorageItems(0xc000206a00)
        /home/rik/dev/neo-go/pkg/core/blockchain.go:495 +0x33a
created by github.com/nspcc-dev/neo-go/pkg/core.(*Blockchain).jumpToStateInternal
        /home/rik/dev/neo-go/pkg/core/blockchain.go:553 +0x68a
FAIL    github.com/nspcc-dev/neo-go/pkg/core    52.084s
2022-01-14 20:25:39 +03:00
..
compiler compiler: use CALLT for native contract calls, fix #2257 2021-12-10 11:58:50 +03:00
config rpc: add server-side NEP-11 tracking API 2021-11-19 12:58:46 +03:00
consensus rpc: refactor calculatenetworkfee handler 2021-10-25 19:07:25 +03:00
core core: lock block addition on state jump 2022-01-14 20:25:39 +03:00
crypto hash: avoid allocation in RipeMD160 calculation 2021-12-02 16:11:09 +03:00
encoding *: use internal variables for simple big.NewInt() values 2021-12-01 21:36:25 +03:00
interop compiler: use CALLT for native contract calls, fix #2257 2021-12-10 11:58:50 +03:00
io io: optimize WriteString, avoid allocation 2021-12-01 21:36:25 +03:00
neotest nativetest: migrate Management contract tests to neotest 2022-01-14 17:56:04 +03:00
network network: fix data race in TestHandleMPTData, fix #2241 2021-11-15 12:37:01 +03:00
rpc rpc: adjust helper contract code 2022-01-14 16:47:31 +03:00
services oracle/neofs: Upgrade NeoFS dependencies 2022-01-13 16:34:47 +03:00
smartcontract *: use NEP-XX naming consistently in docs/comments 2021-11-19 12:58:46 +03:00
util util: reduce allocations in util.Uint256DecodeStringLE 2021-08-17 16:53:39 +03:00
vm vm: optimise emit.Array() to use NEWARRAY0 for zero-lenght arrays 2022-01-14 17:56:10 +03:00
wallet Merge pull request #2264 from nspcc-dev/fix-win-tests 2021-11-29 11:25:35 +03:00