-
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
Rename allowClawback
flag to allowTrustLineClawback
#4617
Conversation
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.
👍
src/ripple/protocol/LedgerFormats.h
Outdated
lsfAllowClawback = | ||
0x80000000, // True, enable clawback | ||
lsfAllowTrustLineClawback = | ||
0x80000000, // True, enable clawback |
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.
FYI - errant space
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.
delete space commit since last review lgtm
@kennyzlei @shawnxie999 this is a breaking API change compared to what was in If applicable, please add the |
I think the |
@intelliot why would that be? clawback hasn't been released yet, this change would affect no one |
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.
I'm a bit late, this PR looks good 👍
@intelliot I don't believe this is a breaking change either. The flag was renamed but the value of the flag is still the same (16). If any previous API usage was using the previous name, it should continue to work. Currently in devnet, this amendment is still not enabled, so there should not be any usage there edit: I guess there is an API change in the response of the account_info endpoint if someone had the past version deployed with amendment on and switched to this new version. in our current release process, this did not happen but it could have theoretically happened with any commit in develop being available to be released. this could be considered a breaking change in that case |
This is a breaking change to version 1.12.0-b1 which included the original Clawback implementation, and needs to be considered for docs and client libraries, which often only look at PRs labeled |
Reason for this change is here XRPLF/XRPL-Standards#119 We would want to be explicit that this flag is exclusively for trustline. For new token types(eg. CFT), they will not utilize this flag for clawback, instead, they will turn clawback on/off on the token-level, which is more versatile.
Reason for this change is here XRPLF/XRPL-Standards#119 We would want to be explicit that this flag is exclusively for trustline. For new token types(eg. CFT), they will not utilize this flag for clawback, instead, they will turn clawback on/off on the token-level, which is more versatile.
High Level Overview of Change
Context of Change
Reason for this change is here XRPLF/XRPL-Standards#119
We would want to be explicit that this flag is exclusively for trustline. For new token types(eg. CFT), they will not utilize this flag for clawback, instead, they will turn clawback on/off on the token-level, which is more versatile.
Type of Change