-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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.1.1 #4968
Proposed 2.1.1 #4968
Conversation
A large synthetic offer was not handled correctly in the payment engine. This patch fixes that issue and introduces a new invariant check while processing synthetic offers.
01f4987
to
42e41cf
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4968 +/- ##
==========================================
- Coverage 61.53% 61.49% -0.04%
==========================================
Files 797 797
Lines 70158 70199 +41
Branches 36261 36287 +26
==========================================
+ Hits 43170 43171 +1
- Misses 19753 19779 +26
- Partials 7235 7249 +14 ☔ View full report in Codecov by Sentry. |
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.
👍 LGTM.
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.
Confirmed the code reproducing this bug works correctly in 2.1.1.
RELEASENOTES.md
Outdated
|
||
### Amendments | ||
|
||
- **fixAMMOverflowOffer**: Fix improper handling of a large synthetic AMM offers in the payment engine. Due to the importance of this fix, the default vote in the source code has been set to YES. For information on how to configure your validator's amendment voting, see [Configure Amendment Voting](https://xrpl.org/docs/infrastructure/configuration/configure-amendment-voting). |
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.
Nit:
- Remove "a": "... handling of a large synthetic AMM ..." -> "... handling of large synthetic AMM ..."
or
- Remove plural: "... AMM offers ... " -> "... AMM offer ... "
Merging changes for 2.1.1 from master into develop
High Level Overview of Change
This is a hotfix release that fixes a critical bug when handling of a large synthetic AMM offers in the payment engine.
Type of Change