Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/relations indexing cleanup #50

Merged
merged 5 commits into from
May 13, 2024
Merged

Conversation

bitbeckers
Copy link
Contributor

  • Update relationship for better querying/indexing
  • Helper methods as DB functions
  • Cleanup migration files
  • Merged in develop with tests

Copy link

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 56.51% (🎯 55%) 1684 / 2980
🟢 Statements 56.51% (🎯 55%) 1684 / 2980
🟢 Functions 58.33% (🎯 55%) 42 / 72
🟢 Branches 63.46% (🎯 55%) 99 / 156
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/server.ts 92.85% 100% 0% 92.85% 22-24, 28-30
src/fetching/fetchAllowlistFromUri.ts 45.71% 100% 0% 45.71% 33-70
src/fetching/fetchMetadataFromUri.ts 93.05% 90.9% 100% 93.05% 36-40
src/indexer/indexAllowlistCreated.ts 0% 0% 0% 0% 1-103
src/indexer/indexAllowlistData.ts 40.22% 33.33% 50% 40.22% 34-47, 50-87
src/indexer/indexAllowlistRecords.ts 40.4% 33.33% 50% 40.4% 39-53, 56-99
src/indexer/indexClaimsStored.ts 38.61% 33.33% 100% 38.61% 40-101
src/indexer/indexFractionTransfers.ts 37.71% 33.33% 100% 37.71% 44-114
src/indexer/indexMetadata.ts 53.96% 33.33% 50% 53.96% 33-46, 49-63
src/indexer/indexUnitTransfers.ts 41.17% 33.33% 100% 41.17% 43-102
src/monitoring/hypercerts.ts 31.08% 100% 0% 31.08% 7-10, 19-32, 42-74
src/parsing/transferSingleEvent.ts 100% 100% 100% 100%
src/storage/getContractEventsForChain.ts 54.54% 25% 100% 54.54% 15-17, 34-55
src/storage/getIncompleteAllowLists.ts 0% 0% 0% 0% 1-28
src/storage/getUnparsedAllowListClaims.ts 0% 0% 0% 0% 1-18
src/storage/getUnparsedAllowLists.ts 100% 50% 100% 100%
src/storage/getUnparsedAllowListsRecords.ts 92.85% 50% 100% 92.85% 22-23
src/storage/storeAllowListData.ts 88.88% 50% 100% 88.88% 15-17
src/storage/storeAllowListRecords.ts 45.45% 100% 0% 45.45% 11-22
src/storage/storeAttestations.ts 51.02% 100% 0% 51.02% 26-49
src/storage/storeClaim.ts 96% 83.33% 100% 96% 35-37
src/storage/storeHypercertAllowList.ts 0% 0% 0% 0% 1-23
src/storage/storeMetadata.ts 92.63% 55.55% 100% 92.63% 33-35, 72, 81, 93-94
src/storage/storeTransferSingleFraction.ts 89.02% 50% 100% 89.02% 31-33, 50-55
src/storage/storeUnits.ts 36.48% 100% 0% 36.48% 28-74
src/storage/updateLastBlockIndexedContractEvents.ts 100% 66.66% 100% 100%
src/types/types.ts 0% 0% 0% 0% 1-49
src/utils/fetchFromHttpsOrIpfs.ts 88.88% 80% 100% 88.88% 5-7
src/utils/tokenIds.ts 64.28% 100% 50% 64.28% 6-10
Generated in workflow #44

@bitbeckers bitbeckers merged commit 798c116 into develop May 13, 2024
1 check passed
@bitbeckers bitbeckers deleted the feat/relations_indexing_cleanup branch June 4, 2024 20:43
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