-
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
remove deprecated fields in ledger command, fix for #3214 #4244
Conversation
I don't know if we can just remove the deprecated field; someone might still be relying on it. Do we know how long it's been marked DEPRECATED for? @mDuo13, any objections? |
Per #3214, the fields have been marked as deprecated dating back to at least 2015. I think we can just remove them. |
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 fine with just removing these, but let's get at least one more review.
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.
It looks ok but jss::hash
is listed in the ledger_request
documentation: https://xrpl.org/ledger_request.html.
@mDuo13 any thoughts on |
The |
This is slated for inclusion in 1.12 (not 1.11) unless anyone comments here to request otherwise. |
Remove deprecated fields from the ledger command: * accepted * hash (use ledger_hash instead) * seqNum (use ledger_index instead) * totalCoins (use total_coins instead) Update SHAMapStore unit tests to use `jss:ledger_hash` instead of the deprecated `hash` field. Fix XRPLF#3214
Remove deprecated fields from the ledger command: * accepted * hash (use ledger_hash instead) * seqNum (use ledger_index instead) * totalCoins (use total_coins instead) Update SHAMapStore unit tests to use `jss:ledger_hash` instead of the deprecated `hash` field. Fix XRPLF#3214
Released in 1.12.0. |
Remove deprecated fields from the ledger command: * accepted * hash (use ledger_hash instead) * seqNum (use ledger_index instead) * totalCoins (use total_coins instead) Update SHAMapStore unit tests to use `jss:ledger_hash` instead of the deprecated `hash` field. Fix XRPLF#3214
I removed the following fields from the ledger command -
accepted
,seqNum
,hash
andtotalCoins
.Some of these variable names (
totalCoins
,seqNum
) are used in managing the database but I don't think there is any redundancy in the creation/updation/deletion of the tables.(Note: Edited to correct
seqNum
field name. --@mDuo13)