mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-22 01:11:32 +00:00
ABCI message updates (code/log/info)
* Add info to Response[CheckTx/DeliverTx/Query] * Remove code and log from Response[SetOption/Commit]
This commit is contained in:
@ -14,7 +14,8 @@ import (
|
||||
func TestMarshalJSON(t *testing.T) {
|
||||
b, err := json.Marshal(&ResponseDeliverTx{})
|
||||
assert.Nil(t, err)
|
||||
assert.True(t, strings.Contains(string(b), "code"))
|
||||
// Do not include empty fields.
|
||||
assert.False(t, strings.Contains(string(b), "code"))
|
||||
|
||||
r1 := ResponseCheckTx{
|
||||
Code: 1,
|
||||
|
Reference in New Issue
Block a user