Skip to content

Conversation

@oleks-rip
Copy link
Collaborator

High Level Overview of Change

Implements the object, transactions, and tests required by the spec: XLS-80d

Context of Change

New feature. Follows existing patterns for adding a new ledger object and related transactions.

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

Requires an amendment.

  • 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)

@codecov
Copy link

codecov bot commented Oct 22, 2024

Codecov Report

Attention: Patch coverage is 96.44444% with 8 lines in your changes missing coverage. Please review.

Project coverage is 77.9%. Comparing base (040cd23) to head (70703d9).

Files with missing lines Patch % Lines
src/xrpld/rpc/handlers/LedgerEntry.cpp 75.0% 8 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop   #5161    +/-   ##
========================================
  Coverage     77.9%   77.9%            
========================================
  Files          783     787     +4     
  Lines        66707   66902   +195     
  Branches      8118    8133    +15     
========================================
+ Hits         51954   52132   +178     
- Misses       14753   14770    +17     
Files with missing lines Coverage Δ
include/xrpl/protocol/Feature.h 100.0% <ø> (ø)
include/xrpl/protocol/Indexes.h 100.0% <ø> (ø)
include/xrpl/protocol/detail/ledger_entries.macro 100.0% <100.0%> (ø)
include/xrpl/protocol/detail/transactions.macro 100.0% <100.0%> (ø)
src/libxrpl/protocol/Indexes.cpp 98.0% <100.0%> (+0.1%) ⬆️
src/xrpld/app/misc/CredentialHelpers.cpp 94.6% <100.0%> (+1.0%) ⬆️
src/xrpld/app/tx/detail/DepositPreauth.cpp 93.0% <100.0%> (-0.7%) ⬇️
src/xrpld/app/tx/detail/InvariantCheck.cpp 87.8% <100.0%> (+1.3%) ⬆️
src/xrpld/app/tx/detail/InvariantCheck.h 100.0% <ø> (ø)
...c/xrpld/app/tx/detail/PermissionedDomainDelete.cpp 100.0% <100.0%> (ø)
... and 6 more

... and 8 files with indirect coverage changes

Impacted file tree graph

@Bronek Bronek self-requested a review October 24, 2024 14:42
@oleks-rip oleks-rip mentioned this pull request Oct 26, 2024
13 tasks
@oleks-rip oleks-rip force-pushed the pd_xls80 branch 2 times, most recently from 4029ac5 to 4aede12 Compare November 7, 2024 05:35
Copy link
Collaborator

@Bronek Bronek left a comment

Choose a reason for hiding this comment

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

You need to fix mac errors; these are happening because clang 15 does not fully implement construction of aggregates in the context where std::construct_at needs them to work, which is ret.emplace_back in src/test/jtx/impl/permissioned_domains.cpp, trying to create AuthorizeCredentials defined in src/test/jtx/deposit.h

Here's small repro with this compiler version, to help you experiment with workarounds https://godbolt.org/z/MKfYfsvan

Bronek

This comment was marked as outdated.

@oleks-rip oleks-rip force-pushed the pd_xls80 branch 2 times, most recently from 188fd2b to e8ca019 Compare November 13, 2024 18:58
Copy link
Collaborator

@mvadari mvadari left a comment

Choose a reason for hiding this comment

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

Permissioned Domain object should be added to the deletionBlockers list in account_objects

@oleks-rip
Copy link
Collaborator Author

Permissioned Domain object should be added to the deletionBlockers list in account_objects

It is https://github.com/XRPLF/rippled/pull/5161/files#diff-f9abeaf1d1e3337a016d4887673dea0904141a1effb933e0929da383ebacb348R228

@mvadari
Copy link
Collaborator

mvadari commented Jan 10, 2025

@bthomee this is ready to merge

@bthomee bthomee merged commit ccc0889 into XRPLF:develop Jan 10, 2025
19 checks passed
ximinez pushed a commit to ximinez/rippled that referenced this pull request Jan 13, 2025
@intelliot intelliot added this to the 2.4.0 (2025) milestone Jan 13, 2025
@ximinez ximinez mentioned this pull request Jan 16, 2025
5 tasks
@ximinez ximinez mentioned this pull request Jan 30, 2025
5 tasks
This was referenced Feb 18, 2025
q73zhao pushed a commit that referenced this pull request Feb 24, 2025
This was referenced Feb 26, 2025
This was referenced Mar 5, 2025
@oleks-rip oleks-rip deleted the pd_xls80 branch May 15, 2025 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Merged

Development

Successfully merging this pull request may close these issues.

7 participants