mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-03 11:41:48 +00:00
trigger/core: split System trigger into OnPerist and PostPersist
Follow neo-project/neo#2022.
This commit is contained in:
parent
044786b995
commit
eaa260474f
12 changed files with 49 additions and 31 deletions
|
@ -770,7 +770,7 @@ func testRPCProtocol(t *testing.T, doRPCCall func(string, string, *testing.T) []
|
|||
data := checkErrGetResult(t, body, false)
|
||||
var res state.AppExecResult
|
||||
require.NoError(t, json.Unmarshal(data, &res))
|
||||
require.Equal(t, trigger.System, res.Trigger)
|
||||
require.Equal(t, trigger.PostPersist, res.Trigger)
|
||||
require.Equal(t, vm.HaltState, res.VMState)
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue