-
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
RXI-1397 flag check for credentials #5250
base: develop
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #5250 +/- ##
=======================================
Coverage 78.0% 78.0%
=======================================
Files 789 789
Lines 66955 66967 +12
Branches 8132 8108 -24
=======================================
+ Hits 52223 52233 +10
- Misses 14732 14734 +2
|
@@ -29,6 +29,8 @@ | |||
// If you add an amendment here, then do not forget to increment `numFeatures` | |||
// in include/xrpl/protocol/Feature.h. | |||
|
|||
// fix1782: Check flags in Credential transactions | |||
XRPL_FIX (1782, Supported::yes, VoteBehavior::DefaultNo) |
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.
Please give this a meaningful name. We want people who don't have access to our internal ticketing system to still get some info from the name. CredentialFlags
should be fine.
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.
renamed
The flag check is also missing on other transactions. Should we add the flag check to other transactions as well? I believe the other one is SignerListSet. |
@dangell7 makes sense, but it should be a different amendment (we do not want this amendment to be rejected by operators, because of compatibility anxiety) |
High Level Overview of Change
Add transaction flag checking functionality for Credentials
Context of Change
CredentialCreate / CredentialAccept / CredentialDelete transactions will check sfFlags field in preflight()
Type of Change