chore: deal collateral lineage update#77
Conversation
Co-authored-by: matt <matt@arda.xyz>
|
Cursor Agent can help with this pull request. Just |
ARDGBL-994 Update Deal and Collateral Lineage views
The following endpoints have been removed /api/v1/deal/{deal_id}/audit-trail-with-proofs /api/v1/collateral/{id}/audit-trail The /state API endpoints on the credit server have been updated to handle these requests via the /transactions endpoint with the necessary query params. Please update where we are getting deal and collateral audit trail / lineage information to use the new state endpoints. |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
|
Looks like there are a few issues preventing this PR from being merged!
If you'd like me to help, just leave a comment, like Feel free to include any additional details that might help me get this PR into a better state. You can manage your notification settings |
Refactor Deal and Collateral audit trail endpoints to use the new
/api/v1/state/transactionsendpoint.The previous
/api/v1/deal/{deal_id}/audit-trailand/api/v1/collateral/{id}/audit-trailendpoints have been removed. This PR updates thegetDealAuditTrailandgetCollateralAuditTrailmethods to fetch data from the/api/v1/state/transactionsendpoint with the relevantdeal_idorcollateral_idquery parameters, ensuring continued functionality for lineage views.Linear Issue: ARDGBL-994