Rejects empty transactions in the example kvstore (#9823) (#9841)

* Rejects empty transactions in the example kvstore

* Add code for rejected transaction; Add test for txn rejection;

* Apply suggestions from code review

Co-authored-by: Sergio Mena <sergio@informal.systems>
(cherry picked from commit 49502dae92)

Co-authored-by: Lasaro Camargos <lasaro@informal.systems>
This commit is contained in:
mergify[bot]
2022-12-06 14:22:35 -03:00
committed by GitHub
co-authored by Lasaro Camargos
parent 82c83d9750
commit 53ac7fcf14
4 changed files with 28 additions and 1 deletions
+1
View File
@@ -8,4 +8,5 @@ const (
CodeTypeUnauthorized uint32 = 3
CodeTypeUnknownError uint32 = 4
CodeTypeExecuted uint32 = 5
CodeTypeRejected uint32 = 6
)