mina
mina copied to clipboard
Add indexer feature to Rosetta
This PR implements Rosetta indexer feature. This endpoint (/search/transactions
) allows searching for transactions matching certain conditions. The specification can be found here. Some existing logic was moved around to allow it to be reused by different endpoints.
This has been tested by manually calling the endpoint and comparing the response with the expected result. This PR also includes a property-based test executable that takes a postgres URI to an archive DB and checks this implementation against the defined properties.
!ci-toolchain-me
!ci-build-me
!ci-build-me
!ci-build-me
Hey @joaosreis. Is indexer_test app used in CI ? from description looks like it need archive_uri so i guess it is component test on real postgres data. Where i can see it run?
@dkijania it's not used in CI for that specific reason, it needs to connect to an archive DB. Locally, I've ran it against qanet
and devnet
archive DBs.
!ci-build-me
Adding the indexer test to CI will be worked on #15641
!approved-for-mainnet