Closed kennyzlei closed 1 week ago
Please update the changelog.
@mvadari updated the changelog! thanks for the reminder
@pdp2121 @mvadari thanks for the reviews/approvals! I don't have write access to be able to merge, so please feel free to merge this PR when it is the right time 🙏
so, does this mean everyone using xrpl-py needs to upgrade immediately ? (seems like a breaking change by clio)
@kennyzlei / @mvadari / @pdp2121
I'm not quite sure if this is relevant
I've manually modified the above file on my xrpl-py pip release on my device and even cloned the repository in place of the current xrpl-py release on pip. Both times I got an error that said Request failed, notSupported: Not supported field 'accounts' error occurred.
I modified again the above file to remove the accounts
field and it is now working.
I'm not quite sure if this is relevant
I've manually modified the above file on my xrpl-py pip release on my device and even cloned the repository in place of the current xrpl-py release on pip. Both times I got an error that said
Request failed, notSupported: Not supported field 'accounts' error occurred.
I modified again the above file to remove the
accounts
field and it is now working.
@angelmacm thanks for flagging, I think it is similar in that the accounts
field may have been deprecated for awhile too and Clio is now enforcing it. I have created a PR here:
The deprecated fields are described here https://xrpl.org/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger/
The ledger field is deprecated and may be removed without further notice. The full, accounts, and type fields (admin-only) are also deprecated; the Clio server does not implement these parameters.
High Level Overview of Change
Remove deprecated full parameter from ledger request model
Context of Change
In the
ledger
API, thefull
request parameter has been deprecated for quite awhile now. As of Clio 2.2.0 with this particular commit https://github.com/XRPLF/clio/pull/1360, this API will return a request error if you provide that parameter. This change removes this parameter from the ledger request model. This change would not impact lib users as this using this parameter or setting it to true instead of default false previously would not have been used by rippled or ClioType of Change
Did you update CHANGELOG.md?
Test Plan
Existing integration tests should continue to pass and manual testing of ledger API with xrpl-py against Clio 2.2.0 should succeed