Skip to content

Commit d67fd43

Browse files
committed
fix UT
1 parent 8a962e5 commit d67fd43

File tree

10 files changed

+834
-5655
lines changed

10 files changed

+834
-5655
lines changed

absbox/tests/benchmark/china/out/test13.json

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
"contents": {
142142
"tag": "PDL",
143143
"contents": [
144+
"Debit",
144145
{
145146
"tag": "CumulativePoolDefaultedBalance",
146147
"contents": null
@@ -230,17 +231,26 @@
230231
]
231232
},
232233
{
233-
"tag": "Transfer",
234+
"tag": "TransferAndBook",
234235
"contents": [
235236
{
236-
"tag": "ClearLedger",
237-
"contents": [
238-
"Credit",
239-
"MyLedger"
240-
]
237+
"tag": "DS",
238+
"contents": {
239+
"tag": "LedgerBalanceBy",
240+
"contents": [
241+
"Debit",
242+
[
243+
"MyLedger"
244+
]
245+
]
246+
}
241247
},
242248
"\u8d26\u623702",
243249
"\u8d26\u623701",
250+
[
251+
"Credit",
252+
"MyLedger"
253+
],
244254
null
245255
]
246256
},

absbox/tests/benchmark/china/out/test25.json

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2483,6 +2483,7 @@
24832483
"contents": {
24842484
"tag": "PDL",
24852485
"contents": [
2486+
"Debit",
24862487
{
24872488
"tag": "CumulativePoolDefaultedBalance",
24882489
"contents": null
@@ -2563,17 +2564,26 @@
25632564
]
25642565
},
25652566
{
2566-
"tag": "Transfer",
2567+
"tag": "TransferAndBook",
25672568
"contents": [
25682569
{
2569-
"tag": "ClearLedger",
2570-
"contents": [
2571-
"Credit",
2572-
"ABCD"
2573-
]
2570+
"tag": "DS",
2571+
"contents": {
2572+
"tag": "LedgerBalanceBy",
2573+
"contents": [
2574+
"Debit",
2575+
[
2576+
"ABCD"
2577+
]
2578+
]
2579+
}
25742580
},
25752581
"\u6536\u5165\u5206\u8d26\u6237",
25762582
"\u672c\u91d1\u5206\u8d26\u6237",
2583+
[
2584+
"Credit",
2585+
"ABCD"
2586+
],
25772587
null
25782588
]
25792589
},

0 commit comments

Comments
 (0)