Commit Graph

13950 Commits

Author SHA1 Message Date
Gregory Tsipenyuk
ddc419daaf Add MPTAmount overflow check in directSendNoFeeMPT(). 2026-04-23 13:13:17 -04:00
Gregory Tsipenyuk
00f39cdd9c Fix BookStep rate calculation. Extend the unit-tests. 2026-04-23 13:12:49 -04:00
Gregory Tsipenyuk
5381133a8d Make MPTEndpointStep check on path calculation consistent with DirectStep. Extend unit-tests. 2026-04-23 13:07:59 -04:00
Gregory Tsipenyuk
17107d74a8 Enforce stricter canTrade() check in BookStep on path calculation. 2026-04-23 13:07:59 -04:00
Gregory Tsipenyuk
5ec090b258 Merge branch 'develop' into gregtatcam/mpt/assorted-fixes-dev 2026-04-22 06:35:21 -04:00
Alex Kremer
7c7c1894b9 chore: Add -fix to clang-tidy invocation (#6990) 2026-04-21 19:00:00 +00:00
Jingchen
45d4aacb53 chore: Remove empty Taker.h (#6984) 2026-04-21 18:15:58 +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
Gregory Tsipenyuk
35890680bf Merge branch 'develop' into gregtatcam/mpt/assorted-fixes-dev 2026-04-21 11:12:32 -04:00
Gregory Tsipenyuk
d3e22a1251 Add testAutoCreateReserve() unit-test to verify MPT/IOU consistent in not checking the reserves when creating MPToken or Trustline on partial offer crossing. 2026-04-21 11:07:20 -04:00
Ayaz Salikhov
ab887f5049 ci: Upload clang-tidy git diff (#6983) 2026-04-21 14:22:33 +00:00
Alex Kremer
ea023121f5 fix: Add rounding to Vault invariants (#6217) (#6955)
Co-authored-by: Vito Tumas <5780819+Tapanito@users.noreply.github.com>
Co-authored-by: Ed Hennis <ed@ripple.com>
2026-04-21 12:14:07 +00:00
yinyiqian1
4b198cd5bb fix: Disallow MPTClearRequireAuth if is set (#6712)
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2026-04-20 21:25:52 +00:00
Alex Kremer
726f20c8f6 feat: Add GRPC TLS support (#6374)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-20 17:12:14 +00:00
Zhiyuan Wang
96643bb0fa fix: Check for empty sfAdditionalBooks array in hybrid offer invariant (#6716) 2026-04-20 17:10:28 +00:00
chuanshanjida
e83818241a chore: Remove repetitive word in multiple files (#6978)
Signed-off-by: chuanshanjida <chuanshanjida@outlook.com>
2026-04-20 16:56:03 +00:00
Ayaz Salikhov
852fbe955d ci: Add workflow to check PR description has been filled (#6965) 2026-04-20 12:12:58 +00:00
Gregory Tsipenyuk
0f262a56cf Add comments 2026-04-20 07:51:51 -04:00
dependabot[bot]
b33d0a0479 ci: [DEPENDABOT] Bump tj-actions/changed-files from 47.0.5 to 47.0.6 (#6973)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-20 11:20:42 +00:00
Gregory Tsipenyuk
392e69ae67 Fix clang-tidy errors. 2026-04-19 15:14:34 -04:00
Gregory Tsipenyuk
080830c4ae Fix clang-tidy errors. 2026-04-19 14:27:17 -04:00
Gregory Tsipenyuk
940dcef212 Merge branch 'develop' into gregtatcam/mpt/assorted-fixes-dev 2026-04-18 10:36:05 -04:00
Gregory Tsipenyuk
62bdfc6bf6 Add MPT to ValidAMM invariant. Add ValidAMM invariant unit-tests. 2026-04-18 10:29:51 -04:00
Alex Kremer
653a383ff5 chore: Enable clang-tidy include cleaner (#6947) 2026-04-17 16:43:49 +00:00
Gregory Tsipenyuk
affe5835fe fix: Change AMMClawback return code to tecNO_PERMISSION (#6946) 2026-04-17 14:19:58 +00:00
dependabot[bot]
ef2642f873 ci: [DEPENDABOT] bump actions/upload-pages-artifact from 4.0.0 to 5.0.0 (#6927)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-17 14:02:02 +00:00
dependabot[bot]
b2038163bc ci: [DEPENDABOT] bump actions/upload-artifact from 7.0.0 to 7.0.1 (#6928)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-17 14:01:56 +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
Jingchen
4a73be499d fix: Fix unity build for book step (#6942)
Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com>
2026-04-16 17:12:00 +00:00
Gregory Tsipenyuk
e85f010ef0 Fix AMMClawback return code on AllowTrustLineClawback and NoFreeze check. 2026-04-15 15:49:55 -04:00
Sergey Kuznetsov
d52d735543 chore: Move codegen venv setup into build stage (#6617)
Co-authored-by: JCW <a1q123456@users.noreply.github.com>
Co-authored-by: Bart <bthomee@users.noreply.github.com>
2026-04-15 18:50:49 +00:00
Gregory Tsipenyuk
af17ab2642 Merge branch 'develop' into gregtatcam/mpt/assorted-fixes-dev 2026-04-15 14:46:56 -04:00
Alex Kremer
6a0ce46755 chore: Enable most clang-tidy bugprone checks (#6929)
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2026-04-14 20:24:21 +00:00
Bart
2f029a2120 refactor: Improve exception handling (#6540) (#6735)
Co-authored-by: Bart <11445373+bthomee@users.noreply.github.com>
2026-04-14 17:14:24 +00:00
Gregory Tsipenyuk
70fa0d7f79 Refactor requireAuth handling in ValidMPTTransfer.
* Combine frozen and reqAuth.
* Check senders and receivers for reqAuth.
2026-04-14 09:16:48 -04:00
Zhiyuan Wang
61fbde3a71 refactor: Remove unused notTooManyOffers function from NFTokenUtils (#6737) 2026-04-13 23:18:10 +00:00
Gregory Tsipenyuk
a2ab6c79ac Add requireAuth invariant 2026-04-13 15:22:49 -04:00
Gregory Tsipenyuk
5439264bdb Fix MPTInvariant refactoring 2026-04-13 13:39:20 -04:00
Gregory Tsipenyuk
62921eb913 Update src/libxrpl/tx/invariants/MPTInvariant.cpp
Co-authored-by: Shawn Xie <35279399+shawnxie999@users.noreply.github.com>
2026-04-13 13:29:04 -04:00
Gregory Tsipenyuk
50cacddcf8 Add CheckCash can't transfer failure unit-test. 2026-04-10 12:25:01 -04:00
Gregory Tsipenyuk
a839b8b92a Add ValidMPTTransfer invariant unit-tests. 2026-04-10 11:49:43 -04:00
Bart
e2e537b3bb fix: Change Tuning::bookOffers minimum limit to 1 (#6812)
Co-authored-by: Bart <11445373+bthomee@users.noreply.github.com>
2026-04-10 14:38:46 +00:00
Gregory Tsipenyuk
1a2c0e7d32 Improve ValidMPTTransfer::finalize() 2026-04-10 09:20:56 -04:00
Ed Hennis
a873250019 chore: Make pre-commit line ending conversions work on Windows (#6832) (#6833) 2026-04-10 10:12:52 +00:00
Gregory Tsipenyuk
77df21b485 Address AI review 2026-04-09 17:25:17 -04:00
Gregory Tsipenyuk
63f270f00e Update src/libxrpl/tx/invariants/MPTInvariant.cpp
Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com>
2026-04-09 14:35:38 -04:00
Gregory Tsipenyuk
0a896b7957 Fix double adjustOwnerCount() in AMMWithdraw. 2026-04-09 13:06:28 -04:00
Gregory Tsipenyuk
12eb050bf8 Change tecFROZEN to tecLOCKED for locked MPT.
Replace checkMPTTxAllowed() with canMPTTradeAndTransfer().
2026-04-09 11:54:15 -04:00
Gregory Tsipenyuk
d26d93130e Replace canTrade with canTransfer in CheckCreate/Cash (Check is not DEX tx). 2026-04-09 11:52:55 -04:00
Gregory Tsipenyuk
a91e8ddad7 Add ValidMPTTransfer invariant. 2026-04-09 11:52:38 -04:00