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

fix(allowlist): allowlist parsing, storage and general call logic #42

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

bitbeckers
Copy link
Contributor

  • Define parsed on hc_allowlist_data row
  • Improved consistency in log types
  • Simplified supabase error handling. Throwonerror() where possible
  • tweaked queries and schemas

@bitbeckers bitbeckers self-assigned this Apr 24, 2024
Copy link

Coverage Report

Status Category Percentage Covered / Total
🔴 Lines 1.72% (🎯 60%) 48 / 2786
🔴 Statements 1.72% (🎯 60%) 48 / 2786
🔴 Functions 2% (🎯 60%) 1 / 50
🔴 Branches 5.76% (🎯 60%) 3 / 52
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/server.ts 0% 0% 0% 0% 1-85
src/indexer/indexAllowlistData.ts 0% 0% 0% 0% 1-85
src/indexer/indexAttestations.ts 0% 0% 0% 0% 1-115
src/indexer/indexClaimsStored.ts 0% 0% 0% 0% 1-97
src/indexer/indexFractionTransfers.ts 0% 0% 0% 0% 1-108
src/indexer/indexMetadata.ts 0% 0% 0% 0% 1-62
src/indexer/indexSupportedSchemas.ts 0% 0% 0% 0% 1-55
src/indexer/indexUnitTransfers.ts 0% 0% 0% 0% 1-102
src/indexer/runIndexing.ts 0% 0% 0% 0% 1-41
src/storage/getContractEventsForChain.ts 0% 0% 0% 0% 1-36
src/storage/getMissingAllowListUris.ts 0% 0% 0% 0% 1-25
src/storage/getUnparsedAllowLists.ts 0% 0% 0% 0% 1-22
src/storage/storeAllowListData.ts 0% 0% 0% 0% 1-27
src/storage/storeAllowListRecords.ts 0% 0% 0% 0% 1-21
src/storage/storeAttestations.ts 0% 0% 0% 0% 1-47
src/storage/storeClaim.ts 0% 0% 0% 0% 1-55
src/storage/storeHypercertAllowList.ts 0% 0% 0% 0% 1-23
src/storage/storeMetadata.ts 0% 0% 0% 0% 1-44
src/storage/storeSupportedSchemas.ts 0% 0% 0% 0% 1-40
src/storage/storeTransferSingleFraction.ts 0% 0% 0% 0% 1-78
src/storage/storeUnits.ts 0% 0% 0% 0% 1-78
Generated in workflow #25

@bitbeckers bitbeckers merged commit 78ce1f4 into develop Apr 24, 2024
1 check failed
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