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.2.0-rc3 #5023

Merged
merged 3 commits into from
May 21, 2024
Merged

Proposed 2.2.0-rc3 #5023

merged 3 commits into from
May 21, 2024

Conversation

seelabs
Copy link
Collaborator

@seelabs seelabs commented May 20, 2024

High Level Overview of Change

This is a release candidate for the 2.2.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

  • Fixes to the price oracle where servers could disagree about the order of price data series (due to servers having different implementations of a hash table).

Type of Change

  • Release

API Impact

No API impact.

gregtatcam and others added 3 commits May 20, 2024 16:33
Price Oracle data-series logic uses `unordered_map` to update the Oracle object.
This results in different servers disagreeing on the order of that hash table.
Consequently, the generated ledgers will have different hashes.
The fix uses `map` instead to guarantee the order of the token pairs
in the data-series.
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.1%. Comparing base (d5e5c3c) to head (40b4adc).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           release   #5023   +/-   ##
=======================================
  Coverage     71.1%   71.1%           
=======================================
  Files          796     796           
  Lines        66997   66997           
  Branches     10982   10979    -3     
=======================================
+ Hits         47635   47637    +2     
+ Misses       19362   19360    -2     
Files Coverage Δ
src/ripple/app/tx/impl/SetOracle.cpp 100.0% <100.0%> (ø)
src/ripple/protocol/impl/BuildInfo.cpp 98.1% <ø> (ø)

... and 4 files with indirect coverage changes

Impacted file tree graph

Copy link
Collaborator

@scottschurr scottschurr left a comment

Choose a reason for hiding this comment

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

Builds, passes unit tests, syncs, and shutdown gracefully for me on macOS. Both release and debug builds.

@seelabs seelabs merged commit 40b4adc into XRPLF:release May 21, 2024
25 checks passed
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.

5 participants