Skip to content
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

DRAFT: Ximinez/lending xls 66 #5270

Draft
wants to merge 11 commits into
base: ximinez/Bronek/vault
Choose a base branch
from

Conversation

ximinez
Copy link
Collaborator

@ximinez ximinez commented Jan 31, 2025

Base branch is #5224

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)

@ximinez ximinez force-pushed the ximinez/lending-XLS-66 branch 4 times, most recently from 1240135 to 6f5d1ad Compare February 4, 2025 19:35
Copy link

codecov bot commented Feb 4, 2025

Codecov Report

Attention: Patch coverage is 89.77505% with 50 lines in your changes missing coverage. Please review.

Project coverage is 78.1%. Comparing base (4e862e0) to head (c69ac64).

Files with missing lines Patch % Lines
src/xrpld/app/tx/detail/InvariantCheck.cpp 44.6% 36 Missing ⚠️
include/xrpl/protocol/Indexes.h 0.0% 4 Missing ⚠️
src/libxrpl/protocol/Indexes.cpp 0.0% 4 Missing ⚠️
src/xrpld/app/tx/detail/Transactor.h 70.0% 3 Missing ⚠️
src/xrpld/app/tx/detail/VaultCreate.cpp 75.0% 2 Missing ⚠️
src/xrpld/app/tx/detail/VaultSet.cpp 87.5% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                  @@
##           ximinez/Bronek/vault   #5270   +/-   ##
====================================================
  Coverage                  78.1%   78.1%           
====================================================
  Files                       802     802           
  Lines                     68698   68655   -43     
  Branches                   8264    8293   +29     
====================================================
- Hits                      53670   53646   -24     
+ Misses                    15028   15009   -19     
Files with missing lines Coverage Δ
include/xrpl/basics/base_uint.h 97.4% <100.0%> (+<0.1%) ⬆️
include/xrpl/protocol/SField.h 100.0% <ø> (ø)
include/xrpl/protocol/STLedgerEntry.h 100.0% <ø> (ø)
include/xrpl/protocol/detail/ledger_entries.macro 100.0% <100.0%> (ø)
include/xrpl/protocol/detail/transactions.macro 100.0% <ø> (ø)
src/libxrpl/protocol/InnerObjectFormats.cpp 100.0% <100.0%> (ø)
src/libxrpl/protocol/SField.cpp 83.0% <100.0%> (+1.6%) ⬆️
src/xrpld/app/tx/detail/AMMBid.cpp 90.9% <100.0%> (+0.4%) ⬆️
src/xrpld/app/tx/detail/AMMBid.h 100.0% <ø> (ø)
src/xrpld/app/tx/detail/AMMClawback.cpp 100.0% <100.0%> (ø)
... and 100 more

... and 5 files with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ximinez ximinez force-pushed the ximinez/lending-XLS-66 branch 3 times, most recently from 27e4c4f to 2d209c4 Compare February 8, 2025 00:58
@ximinez ximinez force-pushed the ximinez/lending-XLS-66 branch 5 times, most recently from e8fbd22 to a697138 Compare February 28, 2025 19:24
@ximinez ximinez force-pushed the ximinez/lending-XLS-66 branch 7 times, most recently from 72d979e to 441d5b5 Compare March 17, 2025 20:23
@ximinez ximinez changed the base branch from develop to ximinez/Bronek/vault March 17, 2025 22:52
@ximinez ximinez force-pushed the ximinez/Bronek/vault branch from b1e091c to 2a8861d Compare March 19, 2025 00:44
@ximinez ximinez force-pushed the ximinez/lending-XLS-66 branch 3 times, most recently from 6d85099 to 36094b3 Compare March 20, 2025 00:25
ximinez added 3 commits March 19, 2025 21:12
- Also add a general check for all object types for the type and index
  fields
- Adds a flagMask parameter to preflight1 so that it's impossible to
  forget to check flags.
- Also adds a short hash prefix to all Transactor log messages.
@ximinez ximinez force-pushed the ximinez/lending-XLS-66 branch from 4029a60 to ef7f14b Compare March 20, 2025 01:14
@ximinez ximinez force-pushed the ximinez/lending-XLS-66 branch from c3282f1 to eb58767 Compare March 21, 2025 18:04
- Derived classes no longer need to explicitly check amendments, nor
  call into preflight1 or preflight2.
- Untested.
@ximinez ximinez force-pushed the ximinez/lending-XLS-66 branch from eb58767 to c69ac64 Compare March 21, 2025 18:27
- Does not build
- Transactions: LoanDelete, LoanManage, LoanDraw, LoanPay
- LoanBrokerSet creation mostly done. Need update.
- Also added a lookup table for pseudo account fields.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant