Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
The SLE isFrozen overload keeps its MPTokenIssuance case for MPTInvariant, which has no entry, and now calls the member.
|
This PR has conflicts, please resolve them in order for the PR to be reviewed. |
mvadari
force-pushed
the
mvadari/rearch/mptokenissuance-isFrozen
branch
from
November 10, 2026 03:55
b734c13 to
f9e3fd1
Compare
|
All conflicts have been resolved. Assigned reviewers can now start or resume their review. |
…earch/mptokenissuance-isFrozen
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
High Level Overview of Change
Adds the const member
MPTokenIssuanceEntry::isFrozen(account, depth = 0)(body insrc/libxrpl/ledger/entries/MPTokenIssuanceEntry.cpp). It holds the MPTokenIssuance case of the freeisFrozen(view, account, SLE const&, depth): the issuance lock, the holder's MPToken lock, and the vault pseudo-account check. That case of the free function is now a one-line call to the member. The escrow preclaim helpers inEscrowHelpers.halready hold anMPTokenIssuanceEntryR, so they call the member directly.Context of Change
Part of the Wrapped SLEs migration (design: step 2/3 of #7886). The SLE overload stays for
MPTInvariant, which reads the issuance as a raw SLE. Its MPToken case is removed in #8376; whichever of the two merges second resolves the small conflict there. Pure refactor: no amendment, no behavior change; any observable difference is a bug.Stacked on #8432; review only the last commit.
This PR was fully written by AI (Claude Code) under human direction; the human author reviewed the diff.
API Impact
libxrplchange (any change that may affectlibxrplor dependents oflibxrpl)Test Plan
Syntax-checked (
clang++ -fsyntax-onlywith project flags) the changed .cpp files andMPTInvariant.cpp; clang-tidy clean on the changed files; pre-commit clean. No new tests. CI runs the full unit test suite.🤖 Generated with Claude Code