core: use raw stack items in application logs
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
9cba25616d
commit
e5d538ed21
7 changed files with 41 additions and 78 deletions
|
@ -11,8 +11,8 @@ import (
|
|||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
||||
"github.com/nspcc-dev/neo-go/pkg/internal/random"
|
||||
"github.com/nspcc-dev/neo-go/pkg/io"
|
||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
||||
"github.com/nspcc-dev/neo-go/pkg/vm/opcode"
|
||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
@ -103,7 +103,7 @@ func TestPutGetAppExecResult(t *testing.T) {
|
|||
appExecResult := &state.AppExecResult{
|
||||
TxHash: hash,
|
||||
Events: []state.NotificationEvent{},
|
||||
Stack: []smartcontract.Parameter{},
|
||||
Stack: []stackitem.Item{},
|
||||
}
|
||||
err := dao.PutAppExecResult(appExecResult)
|
||||
require.NoError(t, err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue