mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-04 09:02:28 +00:00
stateroot: move state-root related logic to core/stateroot
This commit is contained in:
parent
7a176727ca
commit
bf20db09e0
19 changed files with 245 additions and 382 deletions
|
@ -321,7 +321,7 @@ func TestService_PrepareRequest(t *testing.T) {
|
|||
prevHash: prevHash,
|
||||
})
|
||||
|
||||
sr, err := srv.Chain.GetStateRoot(srv.dbft.BlockIndex - 1)
|
||||
sr, err := srv.Chain.GetStateModule().GetStateRoot(srv.dbft.BlockIndex - 1)
|
||||
require.NoError(t, err)
|
||||
checkRequest(t, nil, &prepareRequest{
|
||||
stateRootEnabled: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue