mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-27 07:35:52 +00:00
update to latest rippled
This commit is contained in:
@@ -1849,7 +1849,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"OtherChainAccount",
|
"OtherChainSource",
|
||||||
{
|
{
|
||||||
"nth": 18,
|
"nth": 18,
|
||||||
"isVLEncoded": true,
|
"isVLEncoded": true,
|
||||||
@@ -1859,7 +1859,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"AttestationSignerAccount",
|
"OtherChainDestination",
|
||||||
{
|
{
|
||||||
"nth": 19,
|
"nth": 19,
|
||||||
"isVLEncoded": true,
|
"isVLEncoded": true,
|
||||||
@@ -1869,7 +1869,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"AttestationRewardAccount",
|
"AttestationSignerAccount",
|
||||||
{
|
{
|
||||||
"nth": 20,
|
"nth": 20,
|
||||||
"isVLEncoded": true,
|
"isVLEncoded": true,
|
||||||
@@ -1879,7 +1879,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"LockingChainDoor",
|
"AttestationRewardAccount",
|
||||||
{
|
{
|
||||||
"nth": 21,
|
"nth": 21,
|
||||||
"isVLEncoded": true,
|
"isVLEncoded": true,
|
||||||
@@ -1889,7 +1889,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"IssuingChainDoor",
|
"LockingChainDoor",
|
||||||
{
|
{
|
||||||
"nth": 22,
|
"nth": 22,
|
||||||
"isVLEncoded": true,
|
"isVLEncoded": true,
|
||||||
@@ -1898,6 +1898,16 @@
|
|||||||
"type": "AccountID"
|
"type": "AccountID"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
"IssuingChainDoor",
|
||||||
|
{
|
||||||
|
"nth": 23,
|
||||||
|
"isVLEncoded": true,
|
||||||
|
"isSerialized": true,
|
||||||
|
"isSigningField": true,
|
||||||
|
"type": "AccountID"
|
||||||
|
}
|
||||||
|
],
|
||||||
[
|
[
|
||||||
"Indexes",
|
"Indexes",
|
||||||
{
|
{
|
||||||
@@ -2610,13 +2620,14 @@
|
|||||||
"tecXCHAIN_PROOF_UNKNOWN_KEY": 166,
|
"tecXCHAIN_PROOF_UNKNOWN_KEY": 166,
|
||||||
"tecXCHAIN_CREATE_ACCOUNT_NONXRP_ISSUE": 167,
|
"tecXCHAIN_CREATE_ACCOUNT_NONXRP_ISSUE": 167,
|
||||||
"tecXCHAIN_CLAIM_ACCOUNT_DST_EXISTS": 168,
|
"tecXCHAIN_CLAIM_ACCOUNT_DST_EXISTS": 168,
|
||||||
"tecXCHAIN_CLAIM_WRONG_CHAIN": 169,
|
"tecXCHAIN_WRONG_CHAIN": 169,
|
||||||
"tecXCHAIN_REWARD_MISMATCH": 170,
|
"tecXCHAIN_REWARD_MISMATCH": 170,
|
||||||
"tecXCHAIN_NO_SIGNERS_LIST": 171,
|
"tecXCHAIN_NO_SIGNERS_LIST": 171,
|
||||||
"tecXCHAIN_SENDING_ACCOUNT_MISMATCH": 172,
|
"tecXCHAIN_SENDING_ACCOUNT_MISMATCH": 172,
|
||||||
"tecXCHAIN_INSUFF_CREATE_AMOUNT": 173,
|
"tecXCHAIN_INSUFF_CREATE_AMOUNT": 173,
|
||||||
"tecXCHAIN_ACCOUNT_CREATE_PAST": 174,
|
"tecXCHAIN_ACCOUNT_CREATE_PAST": 174,
|
||||||
"tecXCHAIN_ACCOUNT_CREATE_TOO_MANY": 175
|
"tecXCHAIN_ACCOUNT_CREATE_TOO_MANY": 175,
|
||||||
|
"tecXCHAIN_PAYMENT_FAILED": 176
|
||||||
},
|
},
|
||||||
"TRANSACTION_TYPES": {
|
"TRANSACTION_TYPES": {
|
||||||
"Invalid": -1,
|
"Invalid": -1,
|
||||||
@@ -2653,7 +2664,6 @@
|
|||||||
"XChainCommit": 32,
|
"XChainCommit": 32,
|
||||||
"XChainClaim": 33,
|
"XChainClaim": 33,
|
||||||
"SidechainXChainAccountCreate": 34,
|
"SidechainXChainAccountCreate": 34,
|
||||||
"SidechainXChainAccountClaim": 35,
|
|
||||||
"XChainAddAttestation": 36,
|
"XChainAddAttestation": 36,
|
||||||
"XChainModifyBridge": 37,
|
"XChainModifyBridge": 37,
|
||||||
"EnableAmendment": 100,
|
"EnableAmendment": 100,
|
||||||
|
|||||||
@@ -4502,7 +4502,7 @@
|
|||||||
},
|
},
|
||||||
"Fee": "10",
|
"Fee": "10",
|
||||||
"Flags": 2147483648,
|
"Flags": 2147483648,
|
||||||
"OtherChainAccount": "rGzx83BVoqTYbGn7tiVAnFw7cbxjin13jL",
|
"OtherChainSource": "rGzx83BVoqTYbGn7tiVAnFw7cbxjin13jL",
|
||||||
"Sequence": 1,
|
"Sequence": 1,
|
||||||
"SignatureReward": "10000",
|
"SignatureReward": "10000",
|
||||||
"SigningPubKey": "0330E7FC9D56BB25D6893BA3F317AE5BCF33B3291BD63DB32654A313222F7FD020",
|
"SigningPubKey": "0330E7FC9D56BB25D6893BA3F317AE5BCF33B3291BD63DB32654A313222F7FD020",
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ export interface XChainCommit extends BaseTransaction {
|
|||||||
|
|
||||||
XChainClaimID: number | string
|
XChainClaimID: number | string
|
||||||
|
|
||||||
|
OtherChainDestination?: string
|
||||||
|
|
||||||
Amount: Amount
|
Amount: Amount
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ export interface XChainCreateClaimID extends BaseTransaction {
|
|||||||
|
|
||||||
SignatureReward: Amount
|
SignatureReward: Amount
|
||||||
|
|
||||||
OtherChainAccount: string
|
OtherChainSource: string
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -36,9 +36,9 @@ export function validateXChainCreateClaimID(tx: Record<string, unknown>): void {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tx.OtherChainAccount == null) {
|
if (tx.OtherChainSource == null) {
|
||||||
throw new ValidationError(
|
throw new ValidationError(
|
||||||
'XChainCreateClaimID: missing field OtherChainAccount',
|
'XChainCreateClaimID: missing field OtherChainSource',
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user