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

Graph entity verifier #150

Open
deepesh-kn opened this issue Sep 23, 2019 · 0 comments
Open

Graph entity verifier #150

deepesh-kn opened this issue Sep 23, 2019 · 0 comments

Comments

@deepesh-kn
Copy link
Contributor

deepesh-kn commented Sep 23, 2019

The graph entities are autogenerated.
The following properties are added manually in the entities.

  • blockHash
  • blockNumber
  • uts
  • contractAddress

As it is done manually, there is a high probability that this step is missed.

We can add a verifier command that can assert that the autogenerated entities have the above mentioned properties in addition to that of event params.

Add an npm run command test:verify-graph-entity
npm run test:verify-graph-entity

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

No branches or pull requests

1 participant