Sponsored Content
Skip to content

Retire CheckCashMakesTrustLine - #5974

Merged
bthomee merged 8 commits into
developfrom
a1q123456/retire-CheckCashMakesTrustLine
Nov 10, 2025
Merged

Retire CheckCashMakesTrustLine#5974
bthomee merged 8 commits into
developfrom
a1q123456/retire-CheckCashMakesTrustLine

Conversation

@a1q123456

@a1q123456 a1q123456 commented Oct 30, 2025

Copy link
Copy Markdown
Contributor

High Level Overview of Change

Context of Change

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Performance (increase or change in throughput and/or latency)
  • Tests (you added tests for code that already exists, or your new feature included in this PR)
  • Documentation update
  • Chore (no impact to binary, e.g. .gitignore, formatting, dropping support for older tooling)
  • Release

API Impact

  • Public API: New feature (new methods and/or new fields)
  • Public API: Breaking change (in general, breaking changes should only impact the next api_version)
  • libxrpl change (any change that may affect libxrpl or dependents of libxrpl)
  • Peer protocol change (must be backward compatible or bump the peer protocol version)

@a1q123456
a1q123456 requested a review from a team October 30, 2025 17:34
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
@a1q123456
a1q123456 force-pushed the a1q123456/retire-CheckCashMakesTrustLine branch from 6805037 to cdd76b8 Compare October 30, 2025 17:36

@bthomee bthomee left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

There's a compilation failure. I'll review once that's been fixed.

Comment thread include/xrpl/protocol/detail/features.macro Outdated
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
@a1q123456
a1q123456 requested a review from bthomee October 31, 2025 11:19
@codecov

codecov Bot commented Oct 31, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (develop@8d2dff2). Learn more about missing BASE report.
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##             develop   #5974   +/-   ##
=========================================
  Coverage           ?   78.6%           
=========================================
  Files              ?     817           
  Lines              ?   68995           
  Branches           ?    8241           
=========================================
  Hits               ?   54221           
  Misses             ?   14774           
  Partials           ?       0           
Files with missing lines Coverage Δ
src/xrpld/app/tx/detail/CashCheck.cpp 91.6% <100.0%> (ø)

Impacted file tree graph

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

@a1q123456 a1q123456 added the Needs additional review PR requires at least one more code review approval before it can be merged label Oct 31, 2025
Comment thread src/test/app/Check_test.cpp
@bthomee bthomee removed the Needs additional review PR requires at least one more code review approval before it can be merged label Oct 31, 2025
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
@a1q123456
a1q123456 requested a review from dangell7 November 3, 2025 11:02
Comment thread include/xrpl/protocol/detail/features.macro
Comment thread src/xrpld/app/tx/detail/CashCheck.cpp
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
@a1q123456 a1q123456 added the Needs additional review PR requires at least one more code review approval before it can be merged label Nov 5, 2025
…heckCashMakesTrustLine

Signed-off-by: JCW <a1q123456@users.noreply.github.com>

# Conflicts:
#	include/xrpl/protocol/detail/features.macro
Comment on lines +170 to 173
auto const sleTrustLine =
ctx.view.read(keylet::line(dstId, issuerId, currency));

if (!sleTrustLine)

@pratikmankawde pratikmankawde Nov 10, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Minor suggestion: I would have preferred to keep this initialisation and check as early as possible instead of moving it in.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think this is better as only this block needs the trust line here and it's not related to other part of the logic.

@a1q123456 a1q123456 added Ready to merge *PR author* thinks it's ready to merge. Has passed code review. Perf sign-off may still be required. and removed Needs additional review PR requires at least one more code review approval before it can be merged labels Nov 10, 2025
@bthomee
bthomee enabled auto-merge (squash) November 10, 2025 15:33
@bthomee
bthomee merged commit 12c629a into develop Nov 10, 2025
1 check passed
@bthomee
bthomee deleted the a1q123456/retire-CheckCashMakesTrustLine branch November 10, 2025 16:03
@mvadari mvadari added this to the 3.2.0 milestone May 20, 2026
beartec-jpg pushed a commit to beartec-jpg/FalconLedger that referenced this pull request Jun 1, 2026
Amendments activated for more than 2 years can be retired. This change retires the CheckCashMakesTrustLine amendment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready to merge *PR author* thinks it's ready to merge. Has passed code review. Perf sign-off may still be required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants