Closed Defi-Moses closed 1 month ago
The changes in this pull request involve modifications to the getTransactionById
function in the transactionIdController.ts
file, allowing it to retrieve deposit records based on either transactionId
or transactionHash
. Additionally, the OpenAPI documentation for the /transaction-id/{transactionId}
endpoint has been updated to reflect this new dual functionality. The overall structure of the function and the documentation remains intact, with no alterations to exported or public entities.
File Path | Change Summary |
---|---|
packages/rfq-indexer/api/src/controllers/... |
Modified getTransactionById to allow retrieval by either transactionId or transactionHash . |
packages/rfq-indexer/api/src/routes/... |
Updated OpenAPI documentation for /transaction-id/{transactionId} to clarify dual functionality. |
transactionIdController.ts
, specifically the getTransactionById
function, which is directly related to the modifications made in the main PR regarding the retrieval of transaction details.BridgeProofDisputedEvents
, which is relevant to the handling of transactions and events, aligning with the changes made in the main PR regarding transaction retrieval and processing.size/m
, Sol
, Typescript
In the code where rabbits hop,
A change was made, we can't stop!
Transaction flows now dance and twirl,
With hashes and IDs in a whirl.
Hooray for queries, broad and bright,
In our code, all feels just right! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Latest commit: |
89f6ac4
|
Status: | ✅ Deploy successful! |
Preview URL: | https://567918d9.sanguine-fe.pages.dev |
Branch Preview URL: | https://feat-search-by-txhash.sanguine-fe.pages.dev |
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 31.73701%. Comparing base (
099624f
) to head (89f6ac4
). Report is 3 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Adding search by origin txn hash and not just transactionID.
Summary by CodeRabbit
/transaction-id/{transactionId}
endpoint.