mina icon indicating copy to clipboard operation
mina copied to clipboard

Add indexer feature to Rosetta

Open joaosreis opened this issue 10 months ago • 6 comments

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.

joaosreis avatar Apr 24 '24 14:04 joaosreis

!ci-toolchain-me

joaosreis avatar May 02 '24 22:05 joaosreis

!ci-build-me

joaosreis avatar May 06 '24 17:05 joaosreis

!ci-build-me

joaosreis avatar May 06 '24 19:05 joaosreis

!ci-build-me

joaosreis avatar May 08 '24 14:05 joaosreis

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 avatar May 08 '24 21:05 dkijania

@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.

joaosreis avatar May 09 '24 07:05 joaosreis

!ci-build-me

joaosreis avatar May 17 '24 12:05 joaosreis

Adding the indexer test to CI will be worked on #15641

joaosreis avatar May 17 '24 12:05 joaosreis

!approved-for-mainnet

deepthiskumar avatar May 20 '24 15:05 deepthiskumar