Skip to content

Commit 474a3c8

Browse files
committed
Upd todo list [skip ci]
1 parent 48821c0 commit 474a3c8

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- [ ] More database-level checks
1313
- [ ] Transaction from one to the same account
1414
- [ ] Added documentation
15+
- [ ] Idempotency operation of accept\reject tx
1516

1617
# Future list
1718
- [ ] Process each operation and save the executed status in current operation

tests/01_basic_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,7 @@ func Test01Basic_03ErrorInMiddle(t *testing.T) {
593593
CmdExecute(4),
594594
CmdCheckStatuses("auth", "auth", "auth", "auth"),
595595
CmdApprove(0, 2, 3),
596+
// CmdApprove(0, 2, 3), // idempotency?
596597
CmdExecute(3),
597598
CmdCheckStatuses("accepted", "auth", "accepted", "accepted"),
598599
},
@@ -750,6 +751,7 @@ func Test01Basic_03SimpleTransferReject(t *testing.T) {
750751
}),
751752
CmdCheckStatuses("draft"),
752753
CmdReject(0),
754+
// CmdReject(0), // idempotency?
753755
CmdExecute(1),
754756
CmdCheckStatuses("draft"),
755757
CmdCheckBalances(map[string]int64{
@@ -759,6 +761,7 @@ func Test01Basic_03SimpleTransferReject(t *testing.T) {
759761
"hold111": 0,
760762
}),
761763
CmdReject(0),
764+
// CmdReject(0), // idempotency?
762765
CmdExecute(1),
763766
CmdCheckStatuses("draft"),
764767
CmdCheckBalances(map[string]int64{

0 commit comments

Comments
 (0)