Commit Graph
100 Commits
Author SHA1 Message Date
Vito 7450b3d299 Merge tapanito/sav-fixed-precision-vault-rounding into tapanito/sav-fixed-precision-vault-transactors
Brings in develop. Switch this PR's code to the SLE::ConstRef / SLE::Ref aliases and gtest naming introduced on develop.
2026-10-01 16:59:15 +02:00
Vito 25cb86143a feat: Use FixedPrecision accounting in Vault transactors
VaultCreate creates FixedPrecision Vaults under featureLendingProtocolV1_2.
Vault deposit, withdraw, clawback, set and delete use adjustVaultBalances
and the AssetsAvailable grid, and ValidVault checks the FixedPrecision
balance identities.

Until the lending PRs land, LoanSet, LoanPay and LoanManage return
tecNO_PERMISSION for FixedPrecision Vaults, and jtx::testableAmendments()
excludes featureLendingProtocolV1_2.
2026-10-01 16:43:13 +02:00
Alex Kremer 97a1824537 chore: CamelCase for typedef/using in clang-tidy (#8177) 2026-09-30 15:17:18 +00:00
646d2ce620 feat: Introduce Cosign v1 amendment with TransactionProposalCreate (#8205)
Co-authored-by: Shawn Xie <[email protected]>
Co-authored-by: Shawn Xie <[email protected]>
2026-09-28 16:25:19 +00:00
yinyiqian1 8b1a2282c3 feat: Support ConfidentialMPTMirrorUpdate (#8192) 2026-09-22 17:56:52 +00:00
Jingchen b60636169a fix: Make calculateBaseFee exception-safe 2026-09-17 13:33:06 +02:00
Vito Tumas da260fa42b fix: Relax Loan Invariants to allow zero-principal LoanPay transaction 2026-09-17 13:33:04 +02:00
Mayukha Vadari 54e62a621f fix: Prevent simulate from updating the orderbook db 2026-09-17 13:33:02 +02:00
Chenna Keshava B SandClaude Opus 4.8 636d2d4851 fix: Reinforce the priority of AMMClawback in case of insufficient reserves (#7796)
Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
2026-09-02 20:48:53 +00:00
Vito Tumas 7863ac8cf6 fix: Add 60s buffer before closed-ended vault redemption (#8151) 2026-09-01 18:27:05 +00:00
Vito Tumas b3b38e4416 fix: Correct fee-payer XRP delta in ValidVault for sponsored VaultWithdraw (#8141) 2026-09-01 14:43:11 +00:00
Vito Tumas ccd5dc5e06 fix: Keep LoanBrokerDelete valid for auth-required MPT cover (#8144) 2026-09-01 14:40:53 +00:00
7281e0606a feat: Add vault invariants (#7732)
Co-authored-by: Vito Tumas <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
2026-08-27 17:15:17 +00:00
85512541ad refactor: Collapse transactions.macro settings into a TxSettings struct (#8001)
Co-authored-by: Timur Yalymov <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Vito Tumas <[email protected]>
Co-authored-by: Ayaz Salikhov <[email protected]>
2026-08-20 19:25:27 +00:00
e3ba569187 fix: Check credential for LoanBrokerCoverWithdraw and VaultWithdraw (#7107)
Co-authored-by: Peter Chen <[email protected]>
Co-authored-by: Ayaz Salikhov <[email protected]>
2026-08-20 15:33:46 +00:00
Vito TumasandCursor d1dc7a6ccf refactor: Extract invariant invocation into free checkInvariants runner (#7404)
Co-authored-by: Cursor <[email protected]>
2026-08-19 14:10:11 +00:00
368ff1afce fix: Exempt loan default from asset freeze (#7932)
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Vito Tumas <[email protected]>
Co-authored-by: Ayaz Salikhov <[email protected]>
2026-08-19 13:43:40 +00:00
JingchenandVito Tumas 8e9b1791c5 feat: Add a new closed ended vault to extend SAV (#7921)
Co-authored-by: Vito Tumas <[email protected]>
2026-08-12 17:07:43 +00:00
Gregory TsipenyukandValentin Balaschenko 26cc683ec1 fix: Assorted MPT/DEX fixes (#7299)
Co-authored-by: Valentin Balaschenko <[email protected]>
2026-08-11 18:15:51 +00:00
Kassaking7 60291c3ed6 fix: Allow OverrideFreeze to bypass individual/deep freeze on AMM trust lines (#6959) 2026-08-10 21:34:28 +00:00
Mayukha Vadari a0e1e578a0 refactor: Remove operator!= overloads that C++20 synthesizes (#7994) 2026-08-10 17:23:02 +00:00
Mayukha Vadari 4f8819565a fix: Assorted cleanup fixes (#7988) 2026-08-10 17:18:22 +00:00
+1 94bccb3a5a fix: Fix MPT/DEX Audit/Attackathon reports (Phase 2) (#7537)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Sergey Kuznetsov <[email protected]>
Co-authored-by: Ayaz Salikhov <[email protected]>
Co-authored-by: Andrzej Budzanowski <[email protected]>
Co-authored-by: Marek Foss <[email protected]>
Co-authored-by: Alex Kremer <[email protected]>
Co-authored-by: Vito Tumas <[email protected]>
Co-authored-by: Bart <[email protected]>
Co-authored-by: Bart <[email protected]>
Co-authored-by: Mayukha Vadari <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-07 21:53:54 +00:00
Ayaz Salikhov 9859e5ceda Merge remote-tracking branch 'upstream/release/3.3.x' into mathbunnyru/merge-3.3.0-to-develop
* upstream/release/3.3.x: (41 commits)
  chore: Bump version to 3.3.0
  chore: Bump version to 3.3.0-rc7
  fix: Increase manifest protocol message size cap and fix manifests relay
  fix: Cap untrusted manifests per message and drop oversized ones
  chore: Bump version to 3.2.1
  chore: Bump version to 3.2.1-rc1
  fix: Cap untrusted manifests per message and drop oversized ones
  fix: Reject oversized validator manifest before decoding
  fix: Reduce untrusted manifest cache cap to 100
  fix: Bound untrusted manifest cache
  chore: Bump version to 3.3.0-rc6
  feat: Package validator-keys inside rippled
  chore: Bump version to 3.3.0-rc5
  fix: Switch SponsorshipSet to use a delta for sfFeeAmount
  fix: Re-revert "fix: Set request size limits and differential pricing for get-object-by-hash calls"
  chore: Bump version to 3.3.0-rc4
  fix: Revert "fix: Set request size limits and differential pricing for get-object-by-hash calls"
  chore: Bump version to 3.3.0-rc3
  fix: Reduce untrusted manifest cache cap to 100
  fix: Revert "fix: Reject oversized SHAMap nodes in gotStaleData and fetch-pack path"
  ...
2026-08-07 16:00:25 +01:00
Mayukha Vadari 24b6dad287 fix: Switch SponsorshipSet to use a delta for sfFeeAmount 2026-07-29 14:24:55 -04:00
Kassaking7andBart 9afa1cf4d1 fix: Update PermissionedDEX invariant domain tracking for valid offer replacement (#7387)
Co-authored-by: Bart <[email protected]>
2026-07-23 21:40:21 +00:00
yinyiqian1 033dca2f0e feat: Make DynamicMPT opt-in-immutable 2026-07-17 14:02:35 -04:00
69b70d7a0d fix: Refactor Batch Transaction IDs (#7736)
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Co-authored-by: Mayukha Vadari <[email protected]>
2026-07-16 13:15:59 +00:00
Ed HennisandBart 0a4676d947 fix: Document and assert "after" is never null in invariants (#7354)
Co-authored-by: Bart <[email protected]>
2026-07-14 18:16:46 +00:00
Gregory Tsipenyuk 2403670da9 fix: Strengthen Clawback invariant checks for MPT balances (#7285) 2026-07-14 14:31:06 +00:00
Ayaz Salikhov 73b6852a12 style: Unify style for all Doxygen comments (#7776) 2026-07-13 10:40:40 +00:00
+1 fd2cc6dcb3 feat: XLS-68: Sponsor, #5887 continuation (#7350)
Co-authored-by: tequ <[email protected]>
Co-authored-by: yinyiqian1 <[email protected]>
Co-authored-by: Mayukha Vadari <[email protected]>
Co-authored-by: Mayukha Vadari <[email protected]>
Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com>
Co-authored-by: Peter Chen <[email protected]>
Co-authored-by: Zhiyuan Wang <[email protected]>
Co-authored-by: Ayaz Salikhov <[email protected]>
Co-authored-by: Ayaz Salikhov <[email protected]>
Co-authored-by: Zhiyuan Wang <[email protected]>
2026-07-10 21:58:19 +00:00
Ayaz Salikhov c5a6de6ef7 chore: Enable most cppcoreguidelines checks (#7660) 2026-07-07 13:12:52 +00:00
Ayaz Salikhov 6f0f5b8bb3 chore: Make clang-tidy happy on macOS (#7701) 2026-07-02 16:26:09 +00:00
Ayaz Salikhov 8e378c4f47 build: Add verify-headers target to cleanup headers (#7670) 2026-07-01 23:14:17 +00:00
Vito Tumasandxrplf-ai-reviewer[bot] ea13be81b7 feat: Add an invariant to ensure object deletion also deletes its pseudo-account (#7445)
Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com>
2026-07-01 13:21:23 +00:00
Denis AngellandMayukha Vadari 86d8b244d6 feat: Add Batch (XLS-56) V1_1 (#6446)
Co-authored-by: Mayukha Vadari <[email protected]>
2026-07-01 12:47:14 +00:00
+15 768d7603b1 feat: Confidential Transfer for MPT (#5860)
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: chuanshanjida <[email protected]>
Co-authored-by: Ed Hennis <[email protected]>
Co-authored-by: Jingchen <[email protected]>
Co-authored-by: Denis Angell <[email protected]>
Co-authored-by: Bart <[email protected]>
Co-authored-by: yinyiqian1 <[email protected]>
Co-authored-by: Vito Tumas <[email protected]>
Co-authored-by: Bronek Kozicki <[email protected]>
Co-authored-by: Mayukha Vadari <[email protected]>
Co-authored-by: Valentin Balaschenko <[email protected]>
Co-authored-by: tequ <[email protected]>
Co-authored-by: Ayaz Salikhov <[email protected]>
Co-authored-by: Peter Chen <[email protected]>
Co-authored-by: Bart <[email protected]>
Co-authored-by: Zhiyuan Wang <[email protected]>
Co-authored-by: Alex Kremer <[email protected]>
Co-authored-by: Sergey Kuznetsov <[email protected]>
Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gregory Tsipenyuk <[email protected]>
Co-authored-by: chuanshanjida <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Peter Chen <[email protected]>
Co-authored-by: Timothy Banks <[email protected]>
Co-authored-by: Timothy Banks <[email protected]>
2026-06-27 01:20:38 +00:00
3e9f1d0ab8 fix: Unify freeze checks for pseudo-account deposit/withdraw (#7382)
Signed-off-by: Pratik Mankawde <[email protected]>
Co-authored-by: Ayaz Salikhov <[email protected]>
Co-authored-by: Pratik Mankawde <[email protected]>
Co-authored-by: Shawn Xie <[email protected]>
2026-06-26 21:38:59 +00:00
Mayukha VadariandCopilot b9eee1d245 refactor: Rename (mostly keylet) functions to more closely match the docs (#7059)
Co-authored-by: Copilot <[email protected]>
2026-06-26 10:24:12 +00:00
Ayaz Salikhov b68e1f7170 fix: Add pragma once checker (#7580) 2026-06-24 12:24:04 +00:00
Mayukha VadariandCopilot dd7401fde2 refactor: Clean up tec object deletion logic (#6588)
Co-authored-by: Copilot <[email protected]>
2026-06-22 18:44:42 +00:00
Zhiyuan Wang 93eab33dc2 fix: Improve ValidAMM invariant (#7295) 2026-06-22 17:45:42 +00:00
yinyiqian1andBart 772ea80a25 fix: Use template for granular delegation permissions (#6613)
Co-authored-by: Bart <[email protected]>
2026-06-17 23:20:54 +00:00
Ayaz Salikhov fccb109e48 feat: Use C++ 23 standard (#7431) 2026-06-09 17:36:17 +00:00
Vito Tumas 109b649106 refactor: Use STLedgerEntry type aliases instead of std::shared_ptr (#7282) 2026-06-01 15:27:13 +00:00
Vito TumasandBart 633ef4706f fix: Fix VaultInvariant and VaultDeposit precision bugs at IOU scale boundaries (#7272)
Co-authored-by: Bart <[email protected]>
2026-05-26 16:32:44 +00:00
dcd2ff0b5f fix: Fix non-canonical MPT amount (#7117)
Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
2026-05-23 06:40:26 +00:00
3547a9335f fix: Add assorted MPT/DEX fixes (#7040)
Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com>
Co-authored-by: Shawn Xie <[email protected]>
2026-05-21 18:29:53 +00:00
Shawn XieandPeter Chen 28cc20c816 fix: Fix wrong hybrid offer orderbook placement and update LedgerStateFix to amend ExchangeRate meta (#7087)
Co-authored-by: Peter Chen <[email protected]>
2026-05-21 06:19:04 +00:00