forked from TrueCloudLab/neoneo-go
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:
parent
167bb72424
commit
ff75e67610
1 changed files with 2 additions and 2 deletions
|
@ -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++ {
|
Loading…
Reference in a new issue