- Moved ENR into it's own object
- Moved the POST request parameters into the requestBody attribute (instead of query)
- Updated IndexedAttestation to Attestation
- Updated path for current_finalized_checkpoint
- Completed the /spec and /spec and /spec/slots_per_epoch endpoints
- Completed the /beacon/state/genesis endpoint
- Completed the /spec/eth2_config endpoint
- Fixed the prometheus example value
- Added various example values to reflect real world values
- Fixed incorrect indenting of Eth1Data
- Added the whole ChainSpec schema
- Added a /beacon/validators function, to list all validators active in a particular epoch
- Moved 'get_genesis_state' function, to align with router.
- Added content-type for error responses
- Tried adding a cache update call to fix issue getting validator duties (this is WIP)
- Fixed function re-names
- Updated the function which gets the beacon_chain from the request, and makes sure caches are updated.
- Updated this api-alignment branch with the new code from interop branch.
- Filled the OpenAPI spec for some major functions:
- /beacon/state
- /beacon/get_finalized_checkpoint
- /beacon/state_root
- Created some new schemas in the spec, such as Shard, Checkpoint, Validator, Eth1Data, BeaconState, PendingAttestation, Crosslink
- Made /beacon/state return the current 'head' state when no parameters are provided.
- Added some of the YAML api spec stuff to the /beacon/state endpoint in the rest_api spec.