Rejects empty transactions in the example kvstore (#9823)

* 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>
This commit is contained in:
Lasaro Camargos
2022-12-06 10:00:22 -03:00
committed by GitHub
parent c3302b0dc9
commit 49502dae92
4 changed files with 28 additions and 1 deletions

View File

@@ -8,4 +8,5 @@ const (
CodeTypeUnauthorized uint32 = 3
CodeTypeUnknownError uint32 = 4
CodeTypeExecuted uint32 = 5
CodeTypeRejected uint32 = 6
)