core: move stateroot tests into services/stateroot

They test both module and service which is a bit wrong, but separating these
tests will lead to some duplication, so it's OK for now to have them in the
higher-order package (service imports module).
This commit is contained in:
Roman Khimov 2022-06-08 22:53:09 +03:00
parent 167bb72424
commit ff75e67610

View file

@ -1,4 +1,4 @@
package core_test
package stateroot_test
import (
"crypto/elliptic"
@ -303,7 +303,7 @@ func TestStateroot_GetLatestStateHeight(t *testing.T) {
c.P2PSigExtensions = true
})
e := neotest.NewExecutor(t, bc, validators, committee)
basicchain.Init(t, "../../", e)
basicchain.Init(t, "../../../", e)
m := bc.GetStateModule()
for i := uint32(0); i < bc.BlockHeight(); i++ {