mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-03 18:42:14 +00:00
This changes the ResponsePrepareProposal type, substituting the []TxRecord for just []bytes. This change is made in the .proto file and in all necessary additional places in the code.
82 lines
1.1 KiB
Plaintext
82 lines
1.1 KiB
Plaintext
> echo hello
|
|
-> code: OK
|
|
-> data: hello
|
|
-> data.hex: 0x68656C6C6F
|
|
|
|
> info
|
|
-> code: OK
|
|
-> data: {"size":0}
|
|
-> data.hex: 0x7B2273697A65223A307D
|
|
|
|
> prepare_proposal "abc"
|
|
-> code: OK
|
|
-> log: Succeeded. Tx: abc
|
|
|
|
> process_proposal "abc"
|
|
-> code: OK
|
|
-> status: ACCEPT
|
|
|
|
> commit
|
|
-> code: OK
|
|
-> data.hex: 0x0000000000000000
|
|
|
|
> deliver_tx "abc"
|
|
-> code: OK
|
|
|
|
> info
|
|
-> code: OK
|
|
-> data: {"size":1}
|
|
-> data.hex: 0x7B2273697A65223A317D
|
|
|
|
> commit
|
|
-> code: OK
|
|
-> data.hex: 0x0200000000000000
|
|
|
|
> query "abc"
|
|
-> code: OK
|
|
-> log: exists
|
|
-> height: 2
|
|
-> key: abc
|
|
-> key.hex: 616263
|
|
-> value: abc
|
|
-> value.hex: 616263
|
|
|
|
> deliver_tx "def=xyz"
|
|
-> code: OK
|
|
|
|
> commit
|
|
-> code: OK
|
|
-> data.hex: 0x0400000000000000
|
|
|
|
> query "def"
|
|
-> code: OK
|
|
-> log: exists
|
|
-> height: 3
|
|
-> key: def
|
|
-> key.hex: 646566
|
|
-> value: xyz
|
|
-> value.hex: 78797A
|
|
|
|
> prepare_proposal "preparedef"
|
|
-> code: OK
|
|
-> log: Succeeded. Tx: replacedef
|
|
|
|
> process_proposal "replacedef"
|
|
-> code: OK
|
|
-> status: ACCEPT
|
|
|
|
> process_proposal "preparedef"
|
|
-> code: OK
|
|
-> status: REJECT
|
|
|
|
> prepare_proposal
|
|
|
|
> process_proposal
|
|
-> code: OK
|
|
-> status: ACCEPT
|
|
|
|
> commit
|
|
-> code: OK
|
|
-> data.hex: 0x0400000000000000
|
|
|