Removed methods for 'chain_id', since this is no longer applicable to ETH2.

This commit is contained in:
Luke Anderson 2019-08-29 12:42:45 +10:00
parent faef347d18
commit ca07d72453
No known key found for this signature in database
GPG Key ID: 44408169EC61E228
2 changed files with 0 additions and 23 deletions

View File

@ -128,7 +128,6 @@ pub fn start_server<T: BeaconChainTypes>(
(&Method::GET, "/node/version") => node::get_version(req),
(&Method::GET, "/node/genesis_time") => node::get_genesis_time::<T>(req),
(&Method::GET, "/node/syncing") => helpers::implementation_pending_response(req),
(&Method::GET, "/node/chain_id") => helpers::implementation_pending_response(req),
// Methods for Network
(&Method::GET, "/network/enr") => network::get_enr::<T>(req),

View File

@ -72,28 +72,6 @@ paths:
500:
$ref: '#/components/responses/InternalError'
/node/chain_id:
get:
tags:
- Phase0
summary: "Get fork information from running beacon node."
description: "Requests the beacon node to provide which fork version it is currently on."
responses:
200:
description: Request successful
content:
application/json:
schema:
type: object
properties:
chain_id:
type: integer
format: uint64
description: "Sometimes called the network id, this number discerns the active chain for the beacon node. Analogous to Eth1.0 JSON-RPC net_version."
500:
$ref: '#/components/responses/InternalError'
#TODO: Complete the /network/enr request
/network/enr:
get: