Skip to content

Merge develop into ripple/smart-escrow#5649

Merged
mvadari merged 10 commits intoXRPLF:ripple/smart-escrowfrom
mvadari:develop5
Aug 6, 2025
Merged

Merge develop into ripple/smart-escrow#5649
mvadari merged 10 commits intoXRPLF:ripple/smart-escrowfrom
mvadari:develop5

Conversation

@mvadari
Copy link
Collaborator

@mvadari mvadari commented Aug 5, 2025

High Level Overview of Change

This PR merges the latest in develop into the ripple/smart-escrow branch.

Context of Change

CI issues are resolved

Type of Change

  • Branch update

Test Plan

CI passes.

shawnxie999 and others added 5 commits July 29, 2025 17:02
…for direct MPT transfer (XRPLF#5569)

The Payment transaction metadata is missing the `DeliveredAmount` field that displays the actual amount delivered to the destination excluding transfer fees. This amendment fixes this problem.
Fix crash due to recurrent call to `Slot::deletePeer` (via `OverlayImpl::unsquelch`) when a peer is disconnected at just the wrong moment.
This change decouples `ledger` from `xrpld/app`, and therefore fully clears the path to the modularisation of the ledger component. Before this change, `View.cpp` relied on `MPTokenAuthorize::authorize; this change moves `MPTokenAuthorize::authorize` to `View.cpp` to invert the dependency, making ledger a standalone module.
@mvadari mvadari requested a review from oleks-rip August 5, 2025 17:06
… creation (XRPLF#5485)

This change fixes an issue where the order of `PriceDataSeries` was out of sync between when `PriceOracle` was created and when it was updated. Although they are registered in the canonical order when updated, they are created using the order specified in the transaction; this change ensures that they are also registered in the canonical order when created.
@codecov
Copy link

codecov bot commented Aug 5, 2025

Codecov Report

❌ Patch coverage is 87.61905% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.9%. Comparing base (ece3a8d) to head (c15947d).
⚠️ Report is 67 commits behind head on ripple/smart-escrow.

Files with missing lines Patch % Lines
src/xrpld/overlay/detail/OverlayImpl.cpp 0.0% 8 Missing ⚠️
src/xrpld/ledger/detail/View.cpp 92.5% 4 Missing ⚠️
src/xrpld/app/tx/detail/MPTokenAuthorize.cpp 80.0% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                  Coverage Diff                  @@
##           ripple/smart-escrow   #5649     +/-   ##
=====================================================
+ Coverage                 78.7%   78.9%   +0.2%     
=====================================================
  Files                      825     823      -2     
  Lines                    73098   73833    +735     
  Branches                  8548    8593     +45     
=====================================================
+ Hits                     57553   58263    +710     
- Misses                   15545   15570     +25     
Files with missing lines Coverage Δ
src/xrpld/app/tx/detail/MPTokenAuthorize.h 100.0% <ø> (ø)
src/xrpld/app/tx/detail/Payment.cpp 93.8% <100.0%> (+0.3%) ⬆️
src/xrpld/app/tx/detail/SetOracle.cpp 100.0% <100.0%> (ø)
src/xrpld/app/tx/detail/VaultDeposit.cpp 96.4% <100.0%> (ø)
src/xrpld/ledger/View.h 100.0% <ø> (ø)
src/xrpld/overlay/Slot.h 85.0% <100.0%> (+0.2%) ⬆️
src/xrpld/app/tx/detail/MPTokenAuthorize.cpp 96.3% <80.0%> (+0.9%) ⬆️
src/xrpld/ledger/detail/View.cpp 90.8% <92.5%> (-1.2%) ⬇️
src/xrpld/overlay/detail/OverlayImpl.cpp 34.6% <0.0%> (-0.2%) ⬇️

... and 143 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.


// Use featureSmartEscrow for testing
auto const amendmentId = featureSmartEscrow;
auto const amendmentId = featureTokenEscrow;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is the feature name different from the amendment name?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is checking for an amendment that is activated. I think the switch to default Supported::no messed with how the function deems amendments "valid", so I just switched it here to an amendment marked as Supported::yes, since that'll definitely be true of any amendment that is active here.

Bronek and others added 3 commits August 6, 2025 10:18
This change updates BUILD.md for Conan 2, add fixes/workarounds for Apple Clang 17, Clang 20 and CMake 4. This also removes (from BUILD.md only) workarounds for compiler versions which we no longer support e.g. Clang 15 and adds compilation flag -Wno-deprecated-declarations to enable building with Clang 20 on Linux.
…enter Index fork (XRPLF#5643)

This change:
* Removes the patched Conan recipes from the `external/` directory.
* Adds instructions for contributors how to obtain our patched recipes.
* Updates the Conan remote name and remote URL (the underlying package repository isn't changed).
* If the remote already exists, updates the URL instead of removing and re-adding.
  * This is not done for the libXRPL job as it still uses Conan 1. This job will be switched to Conan 2 soon.
* Removes duplicate Conan remote CI pipeline steps.
* Overwrites the existing global.conf on MacOS and Windows machines, as those do not run CI pipelines in isolation but all share the same Conan installation; appending the same config over and over bloats the file.
@mvadari mvadari merged commit c15947d into XRPLF:ripple/smart-escrow Aug 6, 2025
27 checks passed
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.

9 participants