Skip to content

cherry-pick commits from develop into release-3.1#6201

Merged
ximinez merged 2 commits intorelease-3.1from
ximinez/batch-fixes-3.1
Jan 10, 2026
Merged

cherry-pick commits from develop into release-3.1#6201
ximinez merged 2 commits intorelease-3.1from
ximinez/batch-fixes-3.1

Conversation

@ximinez
Copy link
Collaborator

@ximinez ximinez commented Jan 10, 2026

High Level Overview of Change

Cherry-picks the merge commits from PRs merged into develop. This PR should be merged with a push to preserve the separate commits. Do not squash or use the Github UI

Includes:

@ximinez ximinez marked this pull request as ready for review January 10, 2026 04:23
@ximinez ximinez requested a review from a team as a code owner January 10, 2026 04:23
- Introduces amendment `fixBatchInnerSigs`
- Update Batch unit tests
  - Fix all the Env instantiations to _use_ the "features" parameter.
  - testInnerSubmitRPC runs with Batch enabled and disabled.
  - Add a test to testInnerSubmitRPC for a correctly signed tx incorrectly
    using the tfInnerBatchTxn flag.
  - Generalize the submitAndValidate lambda in testInnerSubmitRPC.
  - With the fix amendment, a transaction never reaches the transaction
    engine (Transactor and derived classes.)
  - Test submitting a pseudo-transaction. Stopped before reaching the
    transaction engine, but with different errors.
- The tests verify that without the amendment, a transaction with
  tfInnerBatchTxn is immediately rejected. Without the amendment, things
  are safe. The amendment just makes things safer and more future-proof.
@ximinez ximinez force-pushed the ximinez/batch-fixes-3.1 branch from 7b41e39 to f17e476 Compare January 10, 2026 05:05
@codecov
Copy link

codecov bot commented Jan 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.2%. Comparing base (8990c45) to head (f17e476).
⚠️ Report is 2 commits behind head on release-3.1.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           release-3.1   #6201   +/-   ##
===========================================
  Coverage         79.2%   79.2%           
===========================================
  Files              837     837           
  Lines            71374   71377    +3     
  Branches          8276    8273    -3     
===========================================
+ Hits             56541   56562   +21     
+ Misses           14833   14815   -18     
Files with missing lines Coverage Δ
src/xrpld/app/misc/NetworkOPs.cpp 70.1% <100.0%> (ø)
src/xrpld/app/tx/detail/Batch.cpp 95.6% <100.0%> (ø)
src/xrpld/app/tx/detail/Transactor.cpp 92.1% <100.0%> (+0.2%) ⬆️
src/xrpld/app/tx/detail/apply.cpp 94.7% <100.0%> (+1.9%) ⬆️

... and 5 files with indirect coverage changes

Impacted file tree graph

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

@ximinez ximinez merged commit f17e476 into release-3.1 Jan 10, 2026
44 of 46 checks passed
@ximinez ximinez deleted the ximinez/batch-fixes-3.1 branch January 10, 2026 06:19
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.

3 participants