phoreproject / graphene

Phore Synapse working repository
MIT License
13 stars 6 forks source link

SubmitAttestation should return error on invalid data #87

Open wqking opened 5 years ago

wqking commented 5 years ago

Reproduce:

  1. Create a AttestationData.
  2. Fill AttestationData with wrong data. Especially, set the hashes with random data.
  3. Call a Beacon node's SubmitAttestation with the request.

The Beacon node will return success. Expect: Beacon should report error.