Consensys / linea-attestation-registry

Verax is a shared registry for storing attestations of public interest on EVM chains, designed to enhance data discoverability and consumption for dApps across the network.
https://ver.ax
MIT License
141 stars 71 forks source link

chore(contract)(sdk): Stop supporting unused arrays in Registries #799

Closed satyajeetkolhapure closed 3 days ago

satyajeetkolhapure commented 1 week ago

What does this PR do?

Removed the usage of onchain counter from entities. Updated sdk to use subgraph instead.

Related ticket

Fixes #788

Type of change

Check list

codecov-commenter commented 1 week ago

Codecov Report

Attention: Patch coverage is 37.50000% with 10 lines in your changes missing coverage. Please review.

Project coverage is 74.88%. Comparing base (af2042b) to head (b497da5). Report is 1 commits behind head on dev.

Files with missing lines Patch % Lines
sdk/src/dataMapper/ModuleDataMapper.ts 0.00% 8 Missing :warning:
sdk/src/dataMapper/PortalDataMapper.ts 0.00% 1 Missing :warning:
sdk/src/dataMapper/SchemaDataMapper.ts 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #799 +/- ## =========================================== + Coverage 46.80% 74.88% +28.08% =========================================== Files 18 49 +31 Lines 391 888 +497 Branches 59 182 +123 =========================================== + Hits 183 665 +482 - Misses 205 220 +15 Partials 3 3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: