mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-05 23:55:11 +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
|
@ -132,7 +132,7 @@ func TestAddBlockStateRoot(t *testing.T) {
|
|||
c.ProtocolConfiguration.StateRootInHeader = true
|
||||
})
|
||||
|
||||
sr, err := bc.GetStateRoot(bc.BlockHeight())
|
||||
sr, err := bc.GetStateModule().GetStateRoot(bc.BlockHeight())
|
||||
require.NoError(t, err)
|
||||
|
||||
tx := newNEP17Transfer(bc.contracts.NEO.Hash, neoOwner, util.Uint160{}, 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue