Removed methods for 'chain_id', since this is no longer applicable to ETH2.
This commit is contained in:
parent
faef347d18
commit
ca07d72453
@ -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),
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user