Skip to content

Ensure start_block is finalized in IndexTask::new and add tests#736

Draft
j-berman wants to merge 1 commit into
serai-dex:nextfrom
j-berman:scanner-tests-v2
Draft

Ensure start_block is finalized in IndexTask::new and add tests#736
j-berman wants to merge 1 commit into
serai-dex:nextfrom
j-berman:scanner-tests-v2

Conversation

@j-berman

Copy link
Copy Markdown
Contributor

As discussed after #732, exposed a generic index_task_tests from the index task, and then called the test from the file defining the Monero ScannerFeed. This enabled unit testing the index task test in isolation using an already implemented ScannerFeed.

I'm sure the daemon impl is still not ideal (I'd like to use a new docker instance rather than expect a running daemon). But if this looks solid directionally, I'll continue writing more tests.

@kayabaNerve kayabaNerve changed the base branch from next-polkadot-sdk to next April 2, 2026 05:24
@kayabaNerve kayabaNerve force-pushed the next branch 2 times, most recently from b325576 to e1673f0 Compare May 7, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant