-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Removed unused code after flow cross retirement #5575
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed unused code after flow cross retirement #5575
Conversation
Sandbox& sbCancel, | ||
Amounts const& takerAmount, | ||
std::optional<uint256> const& domainID) | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the comment in CreateOffer.h, this function was temporary to invoke the different implementations of cross. Since we only have flow cross now, I'm removing this function and placing it's implementation directly where it was previously called.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #5575 +/- ##
=========================================
+ Coverage 78.4% 78.8% +0.4%
=========================================
Files 816 814 -2
Lines 71730 71164 -566
Branches 8600 8332 -268
=========================================
- Hits 56234 56069 -165
+ Misses 15496 15095 -401
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice !
…to ximinez/lending-refactoring-3 * XRPLF/ximinez/lending-refactoring-2: refactor: Update rocksdb (#5568) Switch instrumentation workflow to use dependencies (#5607) chore: Rename conan profile to `default` (#5599) Include `network_id` in validations and subscription stream responses (#5579) Add support for `DomainID` in `MPTokenIssuance` transactions (#5509) chore: Remove unused code after flow cross retirement (#5575) Remove obsolete owner pays fee feature and XRPL_ABANDON stanza (#5550) refactor: Makes HashRouter flags more type-safe (#5371) Fix clang-format CI job (#5598)
High Level Overview of Change
After FlowCross amendment retirement (#5562), there was still some unused code left. After going deeper into that, found out we could remove Taker class completely, since it was never used anywhere outside of direct/bridged cross.
Context of Change
Type of Change
.gitignore
, formatting, dropping support for older tooling)API Impact
libxrpl
change (any change that may affectlibxrpl
or dependents oflibxrpl
)