-
Notifications
You must be signed in to change notification settings - Fork 232
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
XLS-39d: rename lsfAllowClawback
to lsfAllowTrustLineClawback
#119
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.
lgtm, thank you for the explanation of this rename
Should |
@ckniffen Yes it is implicitly renamed as well, but it's not mentioned in the spec |
I think it should be mentioned in the spec as that is how you enable and asf have different values than lsf |
@ckniffen I don't think other specs mention it either. I guess it's implied that they will have the same name 🤷 |
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.
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.
We are renaming
lsfAllowClawback
tolsfAllowTrustLineClawback
to make it clearer that this flag is specifically used for IOUs. By renaming it, we want to separate this flag from potential future token types (like CFT) that may also support clawback functionality. This change is aimed at addressing technical debt caused by IOUs, so that we can avoid adding new flags at the account level in the future. Instead, we plan to control settings at the token level, rather than the account level.Eg. CFT will have a token-level toggle for clawback and not use
lsfAllowClawback
, so it's better to rename this flag to be explicit that it is only used for trust line, to avoid confusions in the future.