mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-05 23:57:04 +00:00
AppendTx -> DeliverTx
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
echo hello
|
||||
info
|
||||
commit
|
||||
append_tx "abc"
|
||||
deliver_tx "abc"
|
||||
info
|
||||
commit
|
||||
query "abc"
|
||||
append_tx "def=xyz"
|
||||
deliver_tx "def=xyz"
|
||||
commit
|
||||
query "def"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
> commit
|
||||
-> data: 0x
|
||||
|
||||
> append_tx "abc"
|
||||
> deliver_tx "abc"
|
||||
-> code: OK
|
||||
|
||||
> info
|
||||
@@ -20,7 +20,7 @@
|
||||
-> code: OK
|
||||
-> data: {"index":0,"value":"abc","valueHex":"616263","exists":true}
|
||||
|
||||
> append_tx "def=xyz"
|
||||
> deliver_tx "def=xyz"
|
||||
-> code: OK
|
||||
|
||||
> commit
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
set_option serial on
|
||||
check_tx 0x00
|
||||
check_tx 0xff
|
||||
append_tx 0x00
|
||||
deliver_tx 0x00
|
||||
check_tx 0x00
|
||||
append_tx 0x01
|
||||
append_tx 0x04
|
||||
deliver_tx 0x01
|
||||
deliver_tx 0x04
|
||||
info
|
||||
|
||||
@@ -7,17 +7,17 @@
|
||||
> check_tx 0xff
|
||||
-> code: OK
|
||||
|
||||
> append_tx 0x00
|
||||
> deliver_tx 0x00
|
||||
-> code: OK
|
||||
|
||||
> check_tx 0x00
|
||||
-> code: BadNonce
|
||||
-> log: Invalid nonce. Expected >= 1, got 0
|
||||
|
||||
> append_tx 0x01
|
||||
> deliver_tx 0x01
|
||||
-> code: OK
|
||||
|
||||
> append_tx 0x04
|
||||
> deliver_tx 0x04
|
||||
-> code: BadNonce
|
||||
-> log: Invalid nonce. Expected 2, got 4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user