Mode: allornothing
- Test Batch allornothing all payments succeed
- Test Batch allornothing submit batch multiple times
- Test Batch allornothing one payment fails
- Test Batch allornothing all payments fail
- Test Batch allornothing mixed transaction types
- Test Batch allornothing fee calculation
- Test Batch allornothing max inner transactions
- Test Batch allornothing more than max inner transactions
- Test Batch allornothing cash same check multiple times
- Test Batch allornothing fail and then succeed
- Test Batch allornothing with tickets
Mode: onlyone
- Test Batch onlyone first succeeds
- Test Batch onlyone first fails second succeeds
- Test Batch onlyone all fail
- Test Batch onlyone offer priority
- Test Batch onlyone max inner transactions
- Test Batch onlyone more than max inner transactions
- Test Batch onlyone cash same check multiple times
- Test Batch onlyone fail and then succeed
Mode: untilfailure
- Test Batch untilfailure all succeed
- Test Batch untilfailure stops at first
- Test Batch untilfailure stops at second
- Test Batch untilfailure stops at third
- Test Batch untilfailure sequential setup
- Test Batch untilfailure progressive payments
- Test Batch untilfailure mixed success failure pattern
- Test Batch untilfailure max inner transactions
- Test Batch untilfailure more than max inner transactions
- Test Batch untilfailure cash same check multiple times
- Test Batch untilfailure fail and then succeed
Mode: independent
- Test Batch independent all succeed
- Test Batch independent some fail
- Test Batch independent all fail
- Test Batch independent parallel operations
- Test Batch independent mixed transaction types
- Test Batch independent account setup operations
- Test Batch independent max transactions
- Test Batch independent more than max transactions
- Test Batch independent cash same check multiple times
- Test Batch independent fail and then succeed
Multi account tests (with signers)
- Test Batch multiaccount workflow all payments succeed
- Test Batch multiaccount atomic swap xrp for xrp
- Test Batch multiaccount atomic swap xrp for token
- Test Batch multiaccount circular three way swap
- Test Batch multiaccount with submitter not in inner txns
- Test Batch multiaccount without signers
- Test Batch multiaccount with max signers
- Test Batch multiaccount with more than max signers
- Test Batch multiaccount txn1 fails txn2 succeeds
- Test Batch multiaccount create check succeeds cash check fails
- Test Batch multiaccount delete accounts too soon with other account as signer[Batch.tfAllOrNothing]
- Test Batch multiaccount delete accounts too soon with other account as signer[Batch.tfOnlyOne]
- Test Batch multiaccount delete accounts too soon with other account as signer[Batch.tfUntilFailure]
- Test Batch multiaccount delete accounts too soon with other account as signer[Batch.tfIndependent]
- Test Batch multiaccount delete accounts after flag ledger with other account as signer
- Test Batch multiaccount delete submitting account after flag ledger with no signer
- Test Batch multiaccount delete submitting account after flag ledger with signer
- Test Batch multiaccount alice creates offer bob creates offer[Batch.tfAllOrNothing]
- Test Batch multiaccount alice creates offer bob creates offer[Batch.tfOnlyOne]
- Test Batch multiaccount alice creates offer bob creates offer[Batch.tfUntilFailure]
- Test Batch multiaccount alice creates offer bob creates offer[Batch.tfIndependent]
- Test Batch multiaccount create nftokenmint nftokenoffercreate fails reverts nftokenmint[Batch.tfAllOrNothing]
- Test Batch multiaccount create nftokenmint nftokenoffercreate fails reverts nftokenmint[Batch.tfOnlyOne]
- Test Batch multiaccount create nftokenmint nftokenoffercreate fails reverts nftokenmint[Batch.tfUntilFailure]
- Test Batch multiaccount create nftokenmint nftokenoffercreate fails reverts nftokenmint[Batch.tfIndependent]
Batch with Vault transactions
- Test Batch with vault create[Batch.tfAllOrNothing]
- Test Batch with vault create[Batch.tfOnlyOne]
- Test Batch with vault create[Batch.tfUntilFailure]
- Test Batch with vault create[Batch.tfIndependent]
- Test Batch with vault set[Batch.tfAllOrNothing]
- Test Batch with vault set[Batch.tfOnlyOne]
- Test Batch with vault set[Batch.tfUntilFailure]
- Test Batch with vault set[Batch.tfIndependent]
- Test Batch with vault deposit[Batch.tfAllOrNothing]
- Test Batch with vault deposit[Batch.tfOnlyOne]
- Test Batch with vault deposit[Batch.tfUntilFailure]
- Test Batch with vault deposit[Batch.tfIndependent]
- Test Batch with vault withdraw[Batch.tfAllOrNothing]
- Test Batch with vault withdraw[Batch.tfOnlyOne]
- Test Batch with vault withdraw[Batch.tfUntilFailure]
- Test Batch with vault withdraw[Batch.tfIndependent]
- Test Batch with vault delete[Batch.tfAllOrNothing]
- Test Batch with vault delete[Batch.tfOnlyOne]
- Test Batch with vault delete[Batch.tfUntilFailure]
- Test Batch with vault delete[Batch.tfIndependent]
- Test Batch with vault clawback[Batch.tfAllOrNothing]
- Test Batch with vault clawback[Batch.tfOnlyOne]
- Test Batch with vault clawback[Batch.tfUntilFailure]
- Test Batch with vault clawback[Batch .tfIndependent]
Batch with LoanBroker/Loan transactions
- Test Batch with loan broker set[Batch.tfAllOrNothing]
- Test Batch with loan broker set[Batch.tfOnlyOne]
- Test Batch with loan broker set[Batch.tfUntilFailure]
- Test Batch with loan broker set[Batch.tfIndependent]
- Test Batch with loan broker delete[Batch.tfAllOrNothing]
- Test Batch with loan broker delete[Batch.tfOnlyOne]
- Test Batch with loan broker delete[Batch.tfUntilFailure]
- Test Batch with loan broker delete[Batch.tfIndependent]
- Test Batch with loan broker cover deposit[Batch.tfAllOrNothing]
- Test Batch with loan broker cover deposit[Batch.tfOnlyOne]
- Test Batch with loan broker cover deposit[Batch.tfUntilFailure]
- Test Batch with loan broker cover deposit[Batch.tfIndependent]
- Test Batch with loan broker cover withdraw[Batch.tfAllOrNothing]
- Test Batch with loan broker cover withdraw[Batch.tfOnlyOne]
- Test Batch with loan broker cover withdraw[Batch.tfUntilFailure]
- Test Batch with loan broker cover withdraw[Batch.tfIndependent]
- Test Batch with loan broker cover clawback[Batch.tfAllOrNothing]
- Test Batch with loan broker cover clawback[Batch.tfOnlyOne]
- Test Batch with loan broker cover clawback[Batch.tfUntilFailure]
- Test Batch with loan broker cover clawback[Batch.tfIndependent]
- Test Batch with loan set[Batch.tfAllOrNothing]
- Test Batch with loan set[Batch.tfOnlyOne]
- Test Batch with loan set[Batch.tfUntilFailure]
- Test Batch with loan set[Batch.tfIndependent]
- Test Batch with loan pay[Batch.tfAllOrNothing]
- Test Batch with loan pay[Batch.tfOnlyOne]
- Test Batch with loan pay[Batch.tfUntilFailure]
- Test Batch with loan pay[Batch.tfIndependent]
- Test Batch with loan delete[Batch.tfAllOrNothing]
- Test Batch with loan delete[Batch.tfOnlyOne]
- Test Batch with loan delete[Batch.tfUntilFailure]
- Test Batch with loan delete[Batch.tfIndependent]
- Test Batch with loan manage[Batch.tfAllOrNothing]
- Test Batch with loan manage[Batch.tfOnlyOne]
- Test Batch with loan manage[Batch.tfUntilFailure]
- Test Batch with loan manage[Batch .tfIndependent]
Batch with various transaction types
- Test Batch transaction type trustset[Batch.tfAllOrNothing]
- Test Batch transaction type trustset[Batch.tfOnlyOne]
- Test Batch transaction type trustset[Batch.tfUntilFailure]
- Test Batch transaction type trustset[Batch.tfIndependent]
- Test Batch transaction type offercreate[Batch.tfAllOrNothing]
- Test Batch transaction type offercreate[Batch.tfOnlyOne]
- Test Batch transaction type offercreate[Batch.tfUntilFailure]
- Test Batch transaction type offercreate[Batch.tfIndependent]
- Test Batch transaction type account set[Batch.tfAllOrNothing]
- Test Batch transaction type account set[Batch.tfOnlyOne]
- Test Batch transaction type account set[Batch.tfUntilFailure]
- Test Batch transaction type account set[Batch.tfIndependent]
- Test Batch transaction type escrow create[Batch.tfAllOrNothing]
- Test Batch transaction type escrow create[Batch.tfOnlyOne]
- Test Batch transaction type escrow create[Batch.tfUntilFailure]
- Test Batch transaction type escrow create[Batch.tfIndependent]
- Test Batch transaction type check create[Batch.tfAllOrNothing]
- Test Batch transaction type check create[Batch.tfOnlyOne]
- Test Batch transaction type check create[Batch.tfUntilFailure]
- Test Batch transaction type check create[Batch.tfIndependent]
- Test Batch transaction type nftokenmint[Batch.tfAllOrNothing]
- Test Batch transaction type nftokenmint[Batch.tfOnlyOne]
- Test Batch transaction type nftokenmint[Batch.tfUntilFailure]
- Test Batch transaction type nftokenmint[Batch.tfIndependent]
- Test Batch with ticket create transaction
- Test Batch transaction type signerlistset[Batch.tfAllOrNothing]
- Test Batch transaction type signerlistset[Batch.tfOnlyOne]
- Test Batch transaction type signerlistset[Batch.tfUntilFailure]
- Test Batch transaction type signerlistset[Batch.tfIndependent]
- Test Batch transaction type depositpreauth[Batch.tfAllOrNothing]
- Test Batch transaction type depositpreauth[Batch.tfOnlyOne]
- Test Batch transaction type depositpreauth[Batch.tfUntilFailure]
- Test Batch transaction type depositpreauth[Batch.tfIndependent]
- TODO: Batch transaction with MPT as inner transactions
Miscellaneous tests
- Test Batch empty raw transactions[Batch.tfAllOrNothing]
- Test Batch empty raw transactions[Batch.tfOnlyOne]
- Test Batch empty raw transactions[Batch.tfUntilFailure]
- Test Batch empty raw transactions[Batch.tfIndependent]
- Test Batch with one raw transaction[Batch.tfAllOrNothing]
- Test Batch with one raw transaction[Batch.tfOnlyOne]
- Test Batch with one raw transaction[Batch.tfUntilFailure]
- Test Batch with one raw transaction[Batch.tfIndependent]
- Test Batch with all inner transactions having no tfInnerBatchTxn flag[Batch.tfAllOrNothing]
- Test Batch with all inner transactions having no tfInnerBatchTxn flag[Batch.tfOnlyOne]
- Test Batch with all inner transactions having no tfInnerBatchTxn flag[Batch.tfUntilFailure]
- Test Batch with all inner transactions having no tfInnerBatchTxn flag[Batch.tfIndependent]
- Test Batch with some inner transactions having no tfInnerBatchTxn flag[Batch.tfAllOrNothing]
- Test Batch with some inner transactions having no tfInnerBatchTxn flag[Batch.tfOnlyOne]
- Test Batch with some inner transactions having no tfInnerBatchTxn flag[Batch.tfUntilFailure]
- Test Batch with some inner transactions having no tfInnerBatchTxn flag[Batch.tfIndependent]
- Test Batch with all inner transactions having incorrect tfInnerBatchTxn flag
- Test Batch with tfInnerBatchTxn flag set for outer transaction
- Test Batch with no mode set for outer transaction
- Test Batch with invalid mode set for outer transaction
- Test Batch with inner transactions having no fee field[Batch.tfAllOrNothing]
- Test Batch with inner transactions having no fee field[Batch.tfOnlyOne]
- Test Batch with inner transactions having no fee field[Batch.tfUntilFailure]
- Test Batch with inner transactions having no fee field[Batch.tfIndependent]
- Test Batch with inner transactions having invalid fee values[-1.5]
- Test Batch with inner transactions having invalid fee values[1.5]
- Test Batch with inner transactions having invalid fee values[58E4CD288]
- Test Batch with inner transactions having invalid fee values[fee value3]
- Test Batch with inner transactions having invalid fee values[~!@#$%^&*() -=+[{<>]};
- Test Batch with inner transactions having bad fee values[-1]
- Test Batch with inner transactions having bad fee values[1]
- Test Batch with inner transactions with SigningPubKey
- Test Batch with inner transactions with fee and SigningPubKey
- Test Batch with inner transactions with TxnSignature
- Test Batch with invalid inner transactions[Batch.tfAllOrNothing]
- Test Batch with invalid inner transactions[Batch.tfOnlyOne]
- Test Batch with invalid inner transactions[Batch.tfUntilFailure]
- Test Batch with invalid inner transactions[Batch.tfIndependent]
- Test Batch inside non empty batch[Batch.tfAllOrNothing]
- Test Batch inside non empty batch[Batch.tfOnlyOne]
- Test Batch inside non empty batch[Batch.tfUntilFailure]
- Test Batch inside non empty batch[Batch.tfIndependent]
- Test Batch inside empty batch[Batch.tfAllOrNothing]
- Test Batch inside empty batch[Batch.tfOnlyOne]
- Test Batch inside empty batch[Batch.tfUntilFailure]
- Test Batch inside empty batch[Batch.tfIndependent]
- Test Batch inner txns with same sequence[Batch.tfAllOrNothing]
- Test Batch inner txns with same sequence[Batch.tfOnlyOne]
- Test Batch inner txns with same sequence[Batch.tfUntilFailure]
- Test Batch inner txns with same sequence[Batch.tfIndependent]
- Test Batch inner txns with past sequence[Batch.tfAllOrNothing]
- Test Batch inner txns with past sequence[Batch.tfOnlyOne]
- Test Batch inner txns with past sequence[Batch.tfUntilFailure]
- Test Batch inner txns with past sequence[Batch.tfIndependent]
- Test Batch inner txns with future not incremental sequences[Batch.tfAllOrNothing]
- Test Batch inner txns with future not incremental sequences[Batch.tfOnlyOne]
- Test Batch inner txns with future not incremental sequences[Batch.tfUntilFailure]
- Test Batch inner txns with future not incremental sequences[Batch.tfIndependent]
- Test Batch with account does not exist[Batch.tfAllOrNothing]
- Test Batch with account does not exist[Batch.tfOnlyOne]
- Test Batch with account does not exist[Batch.tfUntilFailure]
- Test Batch with account does not exist[Batch.tfIndependent]
- Test Batch with deposit auth on account[Batch.tfAllOrNothing]
- Test Batch with deposit auth on account[Batch.tfOnlyOne]
- Test Batch with deposit auth on account[Batch.tfUntilFailure]
- Test Batch with deposit auth on account[Batch.tfIndependent]
- Test Batch with master key disabled on account[Batch.tfAllOrNothing]
- Test Batch with master key disabled on account[Batch.tfOnlyOne]
- Test Batch with master key disabled on account[Batch.tfUntilFailure]
- Test Batch with master key disabled on account[Batch.tfIndependent]
- Test Batch all payments with destination account not funded[Batch.tfAllOrNothing]
- Test Batch all payments with destination account not funded[Batch.tfOnlyOne]
- Test Batch all payments with destination account not funded[Batch.tfUntilFailure]
- Test Batch all payments with destination account not funded[Batch.tfIndependent]
Pending Tests
TODO: Batch transaction with MPT as inner transactions
Top comments (0)