Skip to content
This repository was archived by the owner on Jul 15, 2018. It is now read-only.
This repository was archived by the owner on Jul 15, 2018. It is now read-only.

Abci-cli doesn't return output on check_tx or deliver_tx #93

@ethanfrey

Description

@ethanfrey

It only prints something on error, nothing on success.

If you look at the guide you see:

> echo hello
-> data: hello

> info
-> data: {"size":0}

> commit
-> data: 0x

> deliver_tx "abc"
-> code: OK

> info
-> data: {"size":1}

> commit
-> data: 0x750502FC7E84BBD788ED589624F06CFA871845D1

> query "abc"
-> code: OK
-> data: {"index":0,"value":"abc","exists":true}

When I check out master / v0.5.0 (864d1f8), I get the following:


> echo hello
-> data: hello
-> data.hex: 68656C6C6F

> info
-> data: {"size":0}
-> data.hex: 7B2273697A65223A307D

> commit

> deliver_tx "abc"

> info
-> data: {"size":1}
-> data.hex: 7B2273697A65223A317D

> commit
-> data: u�~��׈�X�$�l�E�
-> data.hex: 750502FC7E84BBD788ED589624F06CFA871845D1

> query "abc"
-> log: exists
-> height: 0
-> value: abc
-> value.hex: 616263

> check_tx "abc"

This seems to be a regression, since most still return values. Also, some formats have changed and the guide needs updating.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions