hypercerts-org / hypercerts-indexer

Indexing service for hypercerts metadata
2 stars 0 forks source link

fix(bug): get tokens with claimsID to prevent overlap between chains #169

Closed bitbeckers closed 1 month ago

bitbeckers commented 1 month ago

Updates fraction and unit transfer methods to fetch tokens with claims_id, not only token ID. This to prevent access to tokens from a different chain/contracts.

github-actions[bot] commented 1 month ago

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 57.15% (🎯 55%) 1678 / 2936
🟢 Statements 57.15% (🎯 55%) 1678 / 2936
🟢 Functions 64.17% (🎯 55%) 43 / 67
🟢 Branches 57.39% (🎯 55%) 97 / 169
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/storage/storeTransferSingle.ts 57.14% 10% 100% 57.14% 35-50, 52-79, 105
src/storage/storeValueTransfer.ts 0% 0% 0% 0% 1-188
Generated in workflow #124