Browse Source

update abci cli test output

wb/abci-finalize-block-synchronize
William Banfield 3 years ago
parent
commit
d8a50796de
No known key found for this signature in database GPG Key ID: EFAD3442BF29E3AC
2 changed files with 10 additions and 8 deletions
  1. +5
    -3
      abci/tests/test_cli/ex1.abci.out
  2. +5
    -5
      abci/tests/test_cli/ex2.abci.out

+ 5
- 3
abci/tests/test_cli/ex1.abci.out View File

@ -12,7 +12,7 @@
-> code: OK
-> data.hex: 0x0000000000000000
> deliver_tx "abc"
> finalize_block "abc"
-> code: OK
> info
@ -33,12 +33,14 @@
-> value: abc
-> value.hex: 616263
> deliver_tx "def=xyz"
> finalize_block "def=xyz" "ghi=123"
-> code: OK
> finalize_block "def=xyz" "ghi=123"
-> code: OK
> commit
-> code: OK
-> data.hex: 0x0400000000000000
-> data.hex: 0x0600000000000000
> query "def"
-> code: OK


+ 5
- 5
abci/tests/test_cli/ex2.abci.out View File

@ -4,20 +4,20 @@
> check_tx 0xff
-> code: OK
> deliver_tx 0x00
> finalize_block 0x00
-> code: OK
> check_tx 0x00
-> code: OK
> deliver_tx 0x01
> finalize_block 0x01
-> code: OK
> deliver_tx 0x04
> finalize_block 0x04
-> code: OK
> info
-> code: OK
-> data: {"hashes":0,"txs":3}
-> data.hex: 0x7B22686173686573223A302C22747873223A337D
-> data: {"size":3}
-> data.hex: 0x7B2273697A65223A337D

Loading…
Cancel
Save