Skip to content

Batch PR3: Add ITs for Batch#676

Merged
sappenin merged 33 commits intomainfrom
df/batch/add-its
Feb 20, 2026
Merged

Batch PR3: Add ITs for Batch#676
sappenin merged 33 commits intomainfrom
df/batch/add-its

Conversation

@sappenin
Copy link
Collaborator

@sappenin sappenin commented Jan 28, 2026

This is the third-of-three PRs required to implement Batch transactions (XLS-56).

This PR adds an integration test that fully covers Batch transactions with a real xrpld node.

Before merging, the following PRs must be merged first:

  1. Fixes #666: Update definitions.json with new values #674
  2. Fixes #656 (Update Testcontainers + Jackson) #667
  3. Add ability to access flags from Transaction.java #690
  4. Batch PR1: Add tfInnerBatchTxn to all transactions #653
  5. Batch PR2: Add initial Batch support #654

Signed-off-by: David Fuelling <sappenin@gmail.com>
Signed-off-by: David Fuelling <sappenin@gmail.com>
Signed-off-by: David Fuelling <sappenin@gmail.com>
Signed-off-by: David Fuelling <sappenin@gmail.com>
Signed-off-by: David Fuelling <sappenin@gmail.com>
Signed-off-by: David Fuelling <sappenin@gmail.com>
Signed-off-by: David Fuelling <sappenin@gmail.com>
Signed-off-by: David Fuelling <sappenin@gmail.com>
Outer batch signing is just like any other transaction; the binary codec handles the proper encoding.

Signed-off-by: David Fuelling <sappenin@gmail.com>
Signed-off-by: David Fuelling <sappenin@gmail.com>
Signed-off-by: David Fuelling <sappenin@gmail.com>
Signed-off-by: David Fuelling <sappenin@gmail.com>
@sappenin sappenin self-assigned this Jan 28, 2026
@codecov
Copy link

codecov bot commented Jan 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.91%. Comparing base (3fc147c) to head (89e3412).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #676      +/-   ##
============================================
- Coverage     92.95%   92.91%   -0.04%     
+ Complexity     2245     2220      -25     
============================================
  Files           437      437              
  Lines          6071     6025      -46     
  Branches        538      536       -2     
============================================
- Hits           5643     5598      -45     
  Misses          279      279              
+ Partials        149      148       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: David Fuelling <sappenin@gmail.com>
Signed-off-by: David Fuelling <sappenin@gmail.com>
…batch/initial-support

Signed-off-by: David Fuelling <sappenin@gmail.com>

# Conflicts:
#	xrpl4j-core/src/main/java/org/xrpl/xrpl4j/model/jackson/ObjectMapperFactory.java
#	xrpl4j-core/src/main/java/org/xrpl/xrpl4j/model/jackson/modules/ZonedDateTimeDeserializer.java
#	xrpl4j-core/src/main/java/org/xrpl/xrpl4j/model/jackson/modules/ZonedDateTimeSerializer.java
#	xrpl4j-core/src/test/java/org/xrpl/xrpl4j/model/AbstractJsonTest.java
#	xrpl4j-core/src/test/java/org/xrpl/xrpl4j/model/client/amm/AmmInfoResultTest.java
#	xrpl4j-core/src/test/java/org/xrpl/xrpl4j/model/flags/AccountRootFlagsTests.java
Signed-off-by: David Fuelling <sappenin@gmail.com>
Validates that BatchSigners contains signatures from all accounts whose inner transactions are included, excluding the account signing the outer transaction.

Signed-off-by: David Fuelling <sappenin@gmail.com>
Signed-off-by: David Fuelling <sappenin@gmail.com>
Signed-off-by: David Fuelling <sappenin@gmail.com>
Signed-off-by: David Fuelling <sappenin@gmail.com>

# Conflicts:
#	xrpl4j-core/src/main/resources/definitions.json
#	xrpl4j-core/src/test/java/org/xrpl/xrpl4j/model/client/fees/FeeUtilsTest.java
@sappenin sappenin marked this pull request as ready for review February 7, 2026 01:00
@sappenin sappenin requested review from Patel-Raj11 and removed request for nhartner and nkramer44 February 7, 2026 01:00
Patel-Raj11
Patel-Raj11 previously approved these changes Feb 11, 2026
Copy link
Collaborator

@Patel-Raj11 Patel-Raj11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Base automatically changed from df/batch/initial-support to main February 19, 2026 22:31
@sappenin sappenin dismissed Patel-Raj11’s stale review February 19, 2026 22:31

The base branch was changed.

Signed-off-by: David Fuelling <sappenin@gmail.com>

# Conflicts:
#	xrpl4j-core/src/main/java/org/xrpl/xrpl4j/codec/binary/XrplBinaryCodec.java
#	xrpl4j-core/src/main/java/org/xrpl/xrpl4j/crypto/signing/TransactionSigner.java
#	xrpl4j-core/src/main/java/org/xrpl/xrpl4j/model/transactions/Batch.java
#	xrpl4j-core/src/main/java/org/xrpl/xrpl4j/model/transactions/RawTransactionWrapper.java
#	xrpl4j-core/src/main/java/org/xrpl/xrpl4j/model/transactions/Signer.java
#	xrpl4j-core/src/test/java/org/xrpl/xrpl4j/codec/binary/XrplBinaryCodecTest.java
#	xrpl4j-core/src/test/java/org/xrpl/xrpl4j/crypto/signing/AbstractTransactionSignerTest.java
#	xrpl4j-core/src/test/java/org/xrpl/xrpl4j/crypto/signing/SignatureUtilsTest.java
#	xrpl4j-core/src/test/java/org/xrpl/xrpl4j/model/client/fees/FeeUtilsTest.java
#	xrpl4j-core/src/test/java/org/xrpl/xrpl4j/model/flags/AccountSetTransactionFlagsTests.java
#	xrpl4j-core/src/test/java/org/xrpl/xrpl4j/model/transactions/BatchSignerTest.java
#	xrpl4j-core/src/test/java/org/xrpl/xrpl4j/model/transactions/BatchTest.java
@sappenin sappenin requested a review from Patel-Raj11 February 20, 2026 00:33
Signed-off-by: David Fuelling <sappenin@gmail.com>
Signed-off-by: David Fuelling <sappenin@gmail.com>
@sappenin sappenin merged commit 3bda0db into main Feb 20, 2026
17 of 19 checks passed
@sappenin sappenin deleted the df/batch/add-its branch February 20, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants