phoreproject / graphene

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

GetEpochInformation should return error on invalid data #85

Open wqking opened 5 years ago

wqking commented 5 years ago

Reproduce:

  1. Create a EpochInformationRequest.
  2. Set EpochInformationRequest.EpochIndex to an invalid epoch.
  3. Call a Beacon node's GetEpochInformation with the request.

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