mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-03 23:02:27 +00:00
rpc: restructure getapplicationlog
response
Move VM-related fields to top-level.
This commit is contained in:
parent
93b0011988
commit
c0e482fe6c
7 changed files with 20 additions and 53 deletions
|
@ -65,9 +65,8 @@ var rpcTestCases = map[string][]rpcTestCase{
|
|||
expectedTxHash, err := util.Uint256DecodeStringLE(deploymentTxHash)
|
||||
require.NoError(t, err)
|
||||
assert.Equal(t, expectedTxHash, res.TxHash)
|
||||
assert.Equal(t, 1, len(res.Executions))
|
||||
assert.Equal(t, "Application", res.Executions[0].Trigger)
|
||||
assert.Equal(t, "HALT", res.Executions[0].VMState)
|
||||
assert.Equal(t, "Application", res.Trigger)
|
||||
assert.Equal(t, "HALT", res.VMState)
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue