Skip to content

Commit

Permalink
update definitions.json for new rippled code, add new tests/update ol…
Browse files Browse the repository at this point in the history
…d tests
  • Loading branch information
mvadari committed Jul 31, 2022
1 parent 0ab2770 commit a520388
Show file tree
Hide file tree
Showing 2 changed files with 155 additions and 33 deletions.
49 changes: 31 additions & 18 deletions packages/ripple-binary-codec/src/enums/definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@
"UInt192": 21,
"UInt384": 22,
"UInt512": 23,
"XChainAttestations": 24,
"XChainClaimProof": 25,
"Issue": 26,
"XChainBridge": 27,
"XChainAttestationBatch": 28,
"XChainClaimProof": 24,
"Issue": 25,
"XChainBridge": 26,
"XChainAttestationBatch": 27,
"Transaction": 10001,
"LedgerEntry": 10002,
"Validation": 10003,
Expand All @@ -43,6 +42,7 @@
"LedgerHashes": 104,
"Amendments": 102,
"XChainClaimID": 113,
"XChainCreateAccountClaimID": 116,
"FeeSettings": 115,
"Escrow": 117,
"PayChannel": 120,
Expand Down Expand Up @@ -1958,16 +1958,6 @@
"type": "XChainClaimProof"
}
],
[
"XChainAttestations",
{
"nth": 1,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "XChainAttestations"
}
],
[
"LockingChainIssue",
{
Expand Down Expand Up @@ -2219,7 +2209,7 @@
}
],
[
"XChainProofSig",
"XChainClaimProofSig",
{
"nth": 25,
"isVLEncoded": false,
Expand All @@ -2229,7 +2219,7 @@
}
],
[
"XChainAttestationSigs",
"XChainCreateAccountProofSig",
{
"nth": 26,
"isVLEncoded": false,
Expand Down Expand Up @@ -2447,6 +2437,26 @@
"isSigningField": true,
"type": "STArray"
}
],
[
"XChainClaimAttestations",
{
"nth": 24,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STArray"
}
],
[
"XChainCreateAccountAttestations",
{
"nth": 25,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STArray"
}
]
],
"TRANSACTION_RESULTS": {
Expand Down Expand Up @@ -2603,7 +2613,10 @@
"tecXCHAIN_CLAIM_WRONG_CHAIN": 169,
"tecXCHAIN_REWARD_MISMATCH": 170,
"tecXCHAIN_NO_SIGNERS_LIST": 171,
"tecXCHAIN_SENDING_ACCOUNT_MISMATCH": 172
"tecXCHAIN_SENDING_ACCOUNT_MISMATCH": 172,
"tecXCHAIN_INSUFF_CREATE_AMOUNT": 173,
"tecXCHAIN_ACCOUNT_CREATE_PAST": 174,
"tecXCHAIN_ACCOUNT_CREATE_TOO_MANY": 175
},
"TRANSACTION_TYPES": {
"Invalid": -1,
Expand Down
Loading

0 comments on commit a520388

Please sign in to comment.