Denis Angell
ea63e465f0
Merge remote-tracking branch 'Transia-RnD-rippled/dangell7/escrow-paychan-refactor' into develop
...
# Conflicts:
# src/libxrpl/tx/transactors/escrow/EscrowCreate.cpp
# src/libxrpl/tx/transactors/escrow/EscrowFinish.cpp
2026-09-13 19:20:52 -04:00
Denis Angell
0ae6a81246
chore: merge develop into smart-contracts
2026-09-12 16:17:03 -04:00
Timur Yalymov
5d8fd9824e
fix: Revert credential cleanup for pseudo-accounts ( #8161 )
2026-09-02 15:00:50 +00:00
Denis Angell
b72ff98159
Merge remote-tracking branch 'origin/develop' into dangell7/escrow-paychan-refactor
...
# Conflicts:
# include/xrpl/ledger/helpers/EscrowHelpers.h
# src/libxrpl/tx/transactors/escrow/EscrowCreate.cpp
# src/libxrpl/tx/transactors/escrow/EscrowFinish.cpp
# src/test/app/PayChan_test.cpp
# src/test/jtx/impl/TestHelpers.cpp
2026-08-31 11:40:42 -04:00
Timur Yalymov
520650081b
fix: Remove credentials pinned to Vault, LoanBroker, and AMM pseudo-accounts ( #7877 )
...
Co-authored-by: Vito Tumas <5780819+Tapanito@users.noreply.github.com >
2026-08-24 13:06:44 +00:00
Kassaking7
d0dbf9163c
fix: Prevent AMM auction slots from being acquired at zero cost when trading fee is zero ( #7430 )
2026-08-20 19:04:04 +00:00
Gregory Tsipenyuk
26cc683ec1
fix: Assorted MPT/DEX fixes ( #7299 )
...
Co-authored-by: Valentin Balaschenko <13349202+vlntb@users.noreply.github.com >
2026-08-11 18:15:51 +00:00
Peng Wang
5ae09518b8
Merge branch 'ripple/se/fees' into ripple/smart-escrow
...
Conflict resolution:
- sfields.macro: both sides claimed INT32 code 2. sfRemainingOwnerCountDelta
is already in develop, so it keeps code 2 and sfVMReturnCode moves to 3.
This changes the Smart Escrow serialization, which is safe while the
amendment is unactivated, but is a deliberate renumber rather than a
mechanical merge.
- EscrowFinish.cpp: took the SeqProxy form of the keylet::escrow call and
kept this branch's comment.
Follow-on fixes the merge required:
- Adapted two keylet::escrow calls in EscrowSmart_test.cpp to SeqProxy; they
are only on this branch, so the earlier pass over the wasm code did not
cover them.
- Updated two gas expectations that the trace host function refactor and the
regenerated fixtures invalidated: the codecov allowance in Wasm_test.cpp is
now 264'467 and sfGasUsed in EscrowSmart_test.cpp is now 48'433. Both are
measured, not estimated.
- Disabled testKeyletHostFunctions. kAllKeyletsWasmHex was built against the
old trace ABI and is rejected with temINVALID_BYTECODE. Regenerating it
needs the all_keylets source ported to the current stdlib first, along with
float_tests and float_0, which are stale for the same reason. See the TODO
on the test.
2026-08-09 18:17:53 -04:00
Gregory Tsipenyuk
94bccb3a5a
fix: Fix MPT/DEX Audit/Attackathon reports (Phase 2) ( #7537 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: Sergey Kuznetsov <skuznetsov@ripple.com >
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com >
Co-authored-by: Andrzej Budzanowski <andrzej.budzanowski@neti-soft.com >
Co-authored-by: Marek Foss <marek.foss@neti-soft.com >
Co-authored-by: Alex Kremer <akremer@ripple.com >
Co-authored-by: Vito Tumas <5780819+Tapanito@users.noreply.github.com >
Co-authored-by: Bart <bthomee@users.noreply.github.com >
Co-authored-by: Bart <11445373+bthomee@users.noreply.github.com >
Co-authored-by: Mayukha Vadari <mvadari@ripple.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-07 21:53:54 +00:00
Denis Angell
866afeee0c
refactor: extract escrow lock helpers and paychan test helpers
2026-07-27 17:23:31 -07:00
Mayukha Vadari
39c95fee3b
Merge branch 'ripple/se/fees' of https://github.com/XRPLF/rippled into ripple/smart-escrow
2026-07-24 11:23:01 -04:00
Ayaz Salikhov
d07d2aba2e
chore: Enable most modernize checks ( #7664 )
2026-07-06 12:19:52 +00:00
Timothy Banks
c53aafa6bf
refactor: Retire InnerObjTemplate fix ( #7368 )
2026-07-01 15:36:28 +00:00
Vito Tumas
3e9f1d0ab8
fix: Unify freeze checks for pseudo-account deposit/withdraw ( #7382 )
...
Signed-off-by: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com >
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com >
Co-authored-by: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com >
Co-authored-by: Shawn Xie <35279399+shawnxie999@users.noreply.github.com >
2026-06-26 21:38:59 +00:00
Zhiyuan Wang
19a9ed7767
fix: Move AMMInvariant weakInvariantCheck logic into the transaction ( #7032 )
2026-06-22 18:42:57 +00:00
Zhiyuan Wang
b34aa84e5a
fix: Check Fee-Free Division by Zero in AMMWithdraw singleWithdrawEPrice ( #6989 )
2026-06-15 15:31:22 +00:00
Pratik Mankawde
8a4bf2dee6
refactor: Retire fixUniversalNumber amendment ( #5962 )
...
Signed-off-by: Pratik Mankawde <pmankawde@ripple.com >
Signed-off-by: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-06-10 10:16:03 +00:00
Ed Hennis
7da643d864
fix: Fix a rounding error at the Number::maxRep cusp ( #7051 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Vito Tumas <5780819+Tapanito@users.noreply.github.com >
2026-05-27 15:19:20 +00:00
Alex Kremer
a830ab10ef
style: More clang-tidy identifier renaming ( #7290 )
2026-05-20 21:31:15 +00:00
Mayukha Vadari
7eacd9d735
Merge remote-tracking branch 'upstream/ripple/se/fees' into mvadari/se-escrow-update
2026-05-20 16:43:57 -04:00
Alex Kremer
5b6e8b6f93
refactor: Rename static constants ( #7120 )
...
Co-authored-by: Bart <bthomee@users.noreply.github.com >
2026-05-15 15:32:19 +00:00
Alex Kremer
cdee9a675c
refactor: Use more scoped enums ( #7086 )
2026-05-11 15:39:48 +00:00
Zhiyuan Wang
779b49cd93
fix: Prevent stale AuthAccounts from persisting after tfTwoAssetIfEmpty re-initialization ( #6996 )
...
Co-authored-by: Bart <bthomee@users.noreply.github.com >
2026-05-09 14:43:56 +00:00
Alex Kremer
8995564ed6
refactor: Enable clang-tidy readability-identifier-naming check ( #6571 )
2026-05-03 10:31:53 +00:00
Vito Tumas
31180f94c2
fix: Prevents overwriting a bool value in an invariant ( #6609 )
...
Co-authored-by: Ed Hennis <ed@ripple.com >
2026-04-30 13:05:09 +00:00
Alex Kremer
f7275b7ad9
chore: Enable clang-tidy v21 new checks ( #7031 )
2026-04-29 15:17:35 +00:00
Alex Kremer
ce3951bbb3
chore: Enable clang-tidy modernize checks ( #6975 )
...
Co-authored-by: Bart <11445373+bthomee@users.noreply.github.com >
Co-authored-by: Bart <bthomee@users.noreply.github.com >
2026-04-21 15:32:51 +00:00
Alex Kremer
653a383ff5
chore: Enable clang-tidy include cleaner ( #6947 )
2026-04-17 16:43:49 +00:00
Alex Kremer
f1a5ba43ad
chore: Enable clang-tidy readability checks ( #6930 )
...
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com >
2026-04-17 13:30:52 +00:00
Mayukha Vadari
74beb5f80d
Merge branch 'ripple/se/fees' of https://github.com/XRPLF/rippled into ripple/smart-escrow
2026-04-08 13:52:24 -04:00
Mayukha Vadari
7793b5f10b
refactor: Combine AMMHelpers and AMMUtils ( #6733 )
2026-04-08 17:38:33 +00:00
Gregory Tsipenyuk
dfcad69155
feat: Add MPT support to DEX ( #5285 )
2026-04-08 16:17:37 +00:00
Mayukha Vadari
01a5e07830
Merge branch 'ripple/se/fees' of https://github.com/XRPLF/rippled into ripple/smart-escrow
2026-04-08 09:58:40 -04:00
Mayukha Vadari
bc24f2e211
refactor: Move more helper files into libxrpl/ledger/helpers ( #6731 )
...
Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com>
2026-04-07 16:01:26 -04:00
Mayukha Vadari
f239256d87
refactor: Move more helper files into libxrpl/ledger/helpers ( #6731 )
...
Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com>
2026-04-06 22:36:32 +00:00
Mayukha Vadari
309fdfc3f2
Merge branch 'ripple/se/fees' of https://github.com/XRPLF/rippled into ripple/smart-escrow
2026-04-02 19:08:08 -04:00
Alex Kremer
2502befb42
chore: Enable clang-tidy misc checks ( #6655 )
2026-03-31 17:29:45 +00:00
Mayukha Vadari
f8a149c675
Merge branch 'ripple/se/fees' into ripple/smart-escrow
2026-03-24 09:10:37 -07:00
Alex Kremer
0eedefbf45
refactor: Enable more clang-tidy readability checks ( #6595 )
...
Co-authored-by: Sergey Kuznetsov <kuzzz99@gmail.com >
2026-03-24 15:42:12 +00:00
Mayukha Vadari
8b986e4ab0
refactor: Improve imports to only call the needed helpers ( #6624 )
2026-03-24 10:20:32 +00:00
Mayukha Vadari
d360e7c5b6
refactor: Rename transactor files/classes to match the tx name ( #6580 )
2026-03-18 19:52:07 +00:00
Alex Kremer
57e4cbbcd9
refactor: Add simple clang-tidy readability checks ( #6556 )
...
This change enables the following clang-tidy checks:
- readability-avoid-nested-conditional-operator,
- readability-avoid-return-with-void-value,
- readability-braces-around-statements,
- readability-const-return-type,
- readability-container-contains,
- readability-container-size-empty,
- readability-else-after-return,
- readability-make-member-function-const,
- readability-redundant-casting,
- readability-redundant-inline-specifier,
- readability-redundant-member-init,
- readability-redundant-string-init,
- readability-reference-to-constructed-temporary,
- readability-static-definition
2026-03-18 16:41:49 +00:00
Mayukha Vadari
dcaef828b4
refactor: Replace !=/== tesSuccess with using isTesSuccess ( #6409 )
...
This change replaces all instances of `<variable> != tesSUCCESS` with `!isTesSuccess(<variable>)` and `<variable> == tesSUCCESS` with `isTesSuccess(<variable>)`.
2026-03-18 14:15:10 +00:00
Alex Kremer
72f4cb097f
refactor: Enable remaining clang-tidy cppcoreguidelines checks ( #6538 )
2026-03-17 19:09:05 +00:00
Alex Kremer
7e7b71d84c
chore: Fix tests for clang-tidy bugprone-unchecked-optional-access check ( #6502 )
2026-03-16 19:47:40 -04:00
Alex Kremer
92983d8040
chore: Enable clang-tidy bugprone-too-small-loop-variable check ( #6473 )
2026-03-10 08:56:44 +00:00
Vito Tumas
5865bd017f
refactor: Update transaction folder structure ( #6483 )
...
This change reorganizes the `tx/transactors` directory for consistency and discoverability. There are no behavioral changes, this is a pure refactor. Underscores were chosen as the way to separate multi-words as this is the more popular option in C++ projects.
Specific changes:
- Rename all subdirectories to lowercase/snake_case (`AMM` → `amm`, `Check` → `check`, `NFT` → `nft`, `PermissionedDomain` → `permissioned_domain`, etc.)
- Merge `AMM/` and `Offer/` into `dex/`, including `PermissionedDEXHelpers`
- Rename `MPT/` → `token/`, absorbing `SetTrust` and `Clawback`
- Move top-level transactors into named groups: `account/`, `bridge/`, `credentials/`, `did/`, `escrow/`, `oracle/`, `payment/`, `payment_channel/`, `system/`
- Update all include paths across the codebase and `transactions.macro`
2026-03-06 08:25:31 +00:00
Mayukha Vadari
a76bd834b6
Merge remote-tracking branch 'upstream/ripple/se/fees' into ripple/smart-escrow [WIP, broken]
2026-03-05 14:45:30 -04:00
Ayaz Salikhov
2c1fad1023
chore: Apply clang-format width 100 ( #6387 )
2026-02-19 23:30:00 +00:00
Jingchen
0976b2b68b
refactor: Modularize app/tx ( #6228 )
2026-02-17 18:10:07 +00:00