Skip to content

Validate content of attestations on deeper structure #253

@bitbeckers

Description

@bitbeckers

We've had an issue that an attesttation was created outside of our application, with incorrect data. The indexer didn't detect that and created an incorrect entry in the database.

To prevent this in the future add checks on:

  • Hypercert ID (chain, contract, tokenId fields)
  • Data structure. In the case of sources in the creator feed schema, check the defined struct as documented in the docs

Simply abort on false attestations

Original issue

Solved by removing the attestation and claimID row containing 10-0x4200000000000000000000000000000000000021-0 from the DB. The Indexer should validate the content of indexed attestations on a deeper level, not only schema structure

Originally posted by @bitbeckers in #356

Sub-issues

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions