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

Proposed 2.3.0-b2 #5086

Merged
merged 21 commits into from
Aug 2, 2024
Merged

Proposed 2.3.0-b2 #5086

merged 21 commits into from
Aug 2, 2024

Conversation

ximinez
Copy link
Collaborator

@ximinez ximinez commented Jul 31, 2024

High Level Overview of Change

This is a beta for the 2.3.0 release.

Highlights:

The base branch is release. All releases (including betas) go in release. This PR will be merged with --ff-only (not squashed or rebased, and not using the GitHub UI) to both release and develop.

Context of Change

This introduces

  • the fixInnerObjTemplate2 amendment to improve construction of inner ledger objects.
  • the InvariantsV1_1 unsupported amendment to expand invariant checking. The amendment will be supported after more invariants are added.

Type of Change

  • Release

API Impact

No API impact.

scottschurr and others added 21 commits June 27, 2024 11:52
* fixInnerObjTemplate2 amendment:

Apply inner object templates to all remaining (non-AMM)
inner objects.

Adds a unit test for applying the template to sfMajorities.
Other remaining inner objects showed no problems having
templates applied.

* Move CMake directory

* Rearrange sources

* Rewrite includes

* Recompute loops

---------

Co-authored-by: Pretty Printer <[email protected]>
* fix "account_nfts" with unassociated marker returning issue

* create unit test for fixing nft page invalid marker not returning error

add more test

change test name

create unit test

* fix "account_nfts" with unassociated marker returning issue

* fix "account_nfts" with unassociated marker returning issue

* fix "account_nfts" with unassociated marker returning issue

* fix "account_nfts" with unassociated marker returning issue

* fix "account_nfts" with unassociated marker returning issue

* fix "account_nfts" with unassociated marker returning issue

* fix "account_nfts" with unassociated marker returning issue

* fix "account_nfts" with unassociated marker returning issue

* [FOLD] accumulated review suggestions

* move BEAST check out of lambda function

---------

Authored-by: Scott Schurr <[email protected]>
This version includes fix codecov/codecov-action#1471
which should end the codecov upload errors due to throttling.
… the ledger. (XRPLF#4663)

* Add feature / amendment "InvariantsV1_1"

* Adds invariant AccountRootsDeletedClean:

* Checks that a deleted account doesn't leave any directly
  accessible artifacts behind.
* Always tests, but only changes the transaction result if
  featureInvariantsV1_1 is enabled.
* Unit tests.

* Resolves XRPLF#4638

* [FOLD] Review feedback from @gregtatcam:

* Fix unused variable warning
* Improve Invariant test const correctness

* [FOLD] Review feedback from @mvadari:

* Centralize the account keylet function list, and some optimization

* [FOLD] Some structured binding doesn't work in clang

* [FOLD] Review feedback 2 from @mvadari:

* Clean up and clarify some comments.

* [FOLD] Change InvariantsV1_1 to unsupported

* Will allow multiple PRs to be merged over time using the same amendment.

* fixup! [FOLD] Change InvariantsV1_1 to unsupported

* [FOLD] Update and clarify some comments. No code changes.

* Move CMake directory

* Rearrange sources

* Rewrite includes

* Recompute loops

* Fix merge issue and formatting

---------

Co-authored-by: Pretty Printer <[email protected]>
…5049)

* fix CTID in tx command returns invalidParams on lowercase hex

* test mixed case and change auto to explicit type

* add header cctype because std::tolower is called

* remove unused local variable

* change test case comment from 'lowercase' to 'mixed case'

---------

Co-authored-by: Zack Brunson <[email protected]>
Signed-off-by: dashangcun <[email protected]>
Co-authored-by: dashangcun <[email protected]>
Co-authored-by: Zack Brunson <[email protected]>
* Make xrpld target optional

* Add job to test Conan recipe

* [fold] address review comments

* [fold] Enable tests in workflows

* [fold] Rename with_xrpld option

* [fold] Fix grep expression
* Document the need to specify "xrpld" and "tests" to build and test rippled.
The names of the files should reflect the name of the Dir class.

Co-authored-by: Zack Brunson <[email protected]>
Co-authored-by: Ed Hennis <[email protected]>
* `account_objects` returns an invalid field error if `type` is not supported.
  This includes objects an account can't own, or which are unsupported by `account_objects`
* Includes:
  * Amendments
  * Directory Node
  * Fee Settings
  * Ledger Hashes
  * Negative UNL
* Includes updated instructions in BUILD.md.
…#5063)

* Returns an "Invalid parameters" error if the `feature` parameter is provided and is not a string.
Copy link

codecov bot commented Jul 31, 2024

Codecov Report

Attention: Patch coverage is 87.50000% with 5 lines in your changes missing coverage. Please review.

Project coverage is 71.4%. Comparing base (2df6356) to head (e5aa605).
Report is 20 commits behind head on release.

Files Patch % Lines
include/xrpl/beast/core/LexicalCast.h 85.7% 2 Missing ⚠️
include/xrpl/protocol/detail/b58_utils.h 75.0% 2 Missing ⚠️
include/xrpl/protocol/Quality.h 94.1% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           release   #5086     +/-   ##
=========================================
+ Coverage     71.1%   71.4%   +0.3%     
=========================================
  Files          796     796             
  Lines        66997   67073     +76     
  Branches     11005   10866    -139     
=========================================
+ Hits         47639   47878    +239     
+ Misses       19358   19195    -163     
Files Coverage Δ
include/xrpl/basics/BasicConfig.h 87.7% <ø> (ø)
include/xrpl/basics/Buffer.h 100.0% <ø> (ø)
include/xrpl/basics/ByteUtilities.h 100.0% <ø> (ø)
include/xrpl/basics/CompressionAlgorithms.h 0.0% <ø> (ø)
include/xrpl/basics/CountedObject.h 100.0% <ø> (ø)
include/xrpl/basics/DecayingSample.h 87.9% <ø> (ø)
include/xrpl/basics/Expected.h 100.0% <ø> (ø)
include/xrpl/basics/FeeUnits.h 90.1% <ø> (ø)
include/xrpl/basics/IOUAmount.h 100.0% <ø> (ø)
include/xrpl/basics/LocalValue.h 100.0% <ø> (ø)
... and 146 more

... and 1280 files with indirect coverage changes

Impacted file tree graph

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.

I confirm that this is the same as current develop , plus the expected version bump

Copy link
Collaborator

@intelliot intelliot left a comment

Choose a reason for hiding this comment

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

just for transparency - channeling internal signoffs:

  • Proposed 2.3.0-b2 (e5aa605) 👍 on Windows.
  • Linux, Debug build, all good (rippled synced, unit tests passing) (there are lots of flavours of Linux - this is Debian bookworm with gcc 13.3 and mold 2.32.1)
  • Linux built clean, all unit tests passed.
  • Proposed 2.3.0-b2 (e5aa605) is 👍 from Integration Tests
  • MacOS 👍 - unit tests passing, rippled synced to mainnet. rippled version 2.3.0-b2+e5aa605742befe585309cb380796fa6d56bb6f04.DEBUG

@ximinez ximinez merged commit e5aa605 into XRPLF:release Aug 2, 2024
39 of 40 checks passed
@ximinez ximinez deleted the release-next branch August 2, 2024 19:30
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.

9 participants