Skip to content

Commit 603fe51

Browse files
committed
fix some Field value and add Error Codes
1 parent 6d4bafd commit 603fe51

File tree

2 files changed

+20
-16
lines changed

2 files changed

+20
-16
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "chainsql-binary-codec",
3-
"version": "1.0.6",
3+
"version": "1.0.8",
44
"description": "chainsql binary codec",
55
"files": [
66
"distrib/npm/*",

src/enums/definitions.json

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1642,70 +1642,70 @@
16421642
"type": "STObject"
16431643
}
16441644
],
1645-
[
1646-
"Table",
1645+
[
1646+
"Signer",
16471647
{
1648-
"nth": 50,
1648+
"nth": 16,
16491649
"isVLEncoded": false,
16501650
"isSerialized": true,
16511651
"isSigningField": true,
16521652
"type": "STObject"
16531653
}
16541654
],
16551655
[
1656-
"Rule",
1656+
"Majority",
16571657
{
1658-
"nth": 51,
1658+
"nth": 18,
16591659
"isVLEncoded": false,
16601660
"isSerialized": true,
16611661
"isSigningField": true,
16621662
"type": "STObject"
16631663
}
16641664
],
16651665
[
1666-
"Signer",
1666+
"Table",
16671667
{
1668-
"nth": 16,
1668+
"nth": 50,
16691669
"isVLEncoded": false,
16701670
"isSerialized": true,
16711671
"isSigningField": true,
16721672
"type": "STObject"
16731673
}
16741674
],
16751675
[
1676-
"WhiteList",
1676+
"Rule",
16771677
{
1678-
"nth": 54,
1678+
"nth": 51,
16791679
"isVLEncoded": false,
16801680
"isSerialized": true,
16811681
"isSigningField": true,
16821682
"type": "STObject"
16831683
}
16841684
],
16851685
[
1686-
"Majority",
1686+
"Validator",
16871687
{
1688-
"nth": 18,
1688+
"nth": 52,
16891689
"isVLEncoded": false,
16901690
"isSerialized": true,
16911691
"isSigningField": true,
16921692
"type": "STObject"
16931693
}
16941694
],
16951695
[
1696-
"Validator",
1696+
"Peer",
16971697
{
1698-
"nth": 51,
1698+
"nth": 53,
16991699
"isVLEncoded": false,
17001700
"isSerialized": true,
17011701
"isSigningField": true,
17021702
"type": "STObject"
17031703
}
17041704
],
17051705
[
1706-
"Peer",
1706+
"WhiteList",
17071707
{
1708-
"nth": 52,
1708+
"nth": 54,
17091709
"isVLEncoded": false,
17101710
"isSerialized": true,
17111711
"isSigningField": true,
@@ -2247,6 +2247,10 @@
22472247
"tefMISMATCH_TRANSACTION_ADDRESS":356,
22482248
"tefWHITELIST_ACCOUNTIDEXIST":357,
22492249
"tefWHITELIST_NOACCOUNTID":358,
2250+
"tefACCOUNT_FORBIDDEN":359,
2251+
"tefACCOUNT_FROZEN":360,
2252+
"tefACCOUNT_NOT_FROZEN":361,
2253+
"tefNO_ADMIN_CONFIGURED":362,
22502254
"telLOCAL_ERROR":400,
22512255
"telBAD_DOMAIN":401,
22522256
"telBAD_PATH_COUNT":402,

0 commit comments

Comments
 (0)