Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## fixes KILTprotocol/ticket#3555 Replaces the Logic depending from [Subscan](https://spiritnet.subscan.io/) with Logic depending from the [KILT Indexer](https://indexer.kilt.io/). Commits: * feat: code from cTypeHub * feat: whole attestation fragment * feat: interface to talk with indexer * fix: use right environment constant * chore: add development comment as help * feat: indexer to configuration * feat: block interface * feat: queryExpiredAttestations * feat: add createdAt to queried attestations * feat: replace getExpiredAttestations with queryExpiredAttestations * fix: parse attestations to old interface * feat: explainer for attestationParser * fix: wipe subscan files * fix: tests to use new functions * fix: delete unused file * fix: an import * chore: add To -dos * feat: query filter for not-removed attestations * fix: delete subscan from the configuration * fix: make pretty with an extra line * feat: export interface to use on tests * fix: format the query * fix: use function from kilt sdk instead * feat: tests for queryFromIndexer.ts * fix: make it more interesting * feat: blockMocker and new test * fix: a log * refactor: parameter phobia * Revert "refactor: parameter phobia" This reverts commit e646c65. * refactor: let the Indexer figure it out * Revert "refactor: let the Indexer figure it out" This reverts commit 614beca. * refactor: no parameter for queryExpiredAttestations() & handle pending DID before filling Inventory Fusuion of these two commits: * refactor: let the Indexer figure it out * suggestion * feat: test for when there is no indexer endpoint * fix: cleanup a bit * try: to solve test on workflow * fix: add an empty line * feat: add assertions on some expected calls * feat: import some stuff for the tests * feat: some functioning tests for queryAttestation.ts * feat: a broken test because time is hard to control * try: another failed attempt * Revert "try: another failed attempt" This reverts commit 4d75044. * fix: chronus the god of time * fix: clean up a bit * chore: show other problem * fix: just use the real thing * feat: test to check start value of `fromDate` * feat: test to check the yield types * fix: reword a test description * fix: add some empty lines * fix: reduce unnecessary variables * fix: use shorthand * fix: make more readable * fix: remove unnecessary test setup line * fix: only test once * fix: shorten a hand * feat: allow to specify the results structure for FetchedData * chore: delete to-dos * fix: move explainers from tests to real code * fix: shorten another hand
- Loading branch information