mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Production version of Altair Eth APIs (#9640)
* internal prefix in proto services * half-baked inmplementation * rename v1 to eth * use router and remove old flag * uncomment cors * update v2 methods in proto services * move adding path prefix after param processing * remove unneeded code * remove flag * fix e2e * uncomment sync committee e2e Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
This commit is contained in:
@@ -70,13 +70,6 @@ var (
|
||||
Usage: "The port on which the gateway server runs on",
|
||||
Value: 3500,
|
||||
}
|
||||
// EthApiPort specifies the port which runs the official Ethereum REST API.
|
||||
// Serves JSON values conforming to the specification: https://ethereum.github.io/beacon-apis/
|
||||
EthApiPort = &cli.IntFlag{
|
||||
Name: "eth-api-port",
|
||||
Usage: "The port which exposes a REST API conforming to the official Ethereum API specification.",
|
||||
Value: 3501,
|
||||
}
|
||||
// GPRCGatewayCorsDomain serves preflight requests when serving gRPC JSON gateway.
|
||||
GPRCGatewayCorsDomain = &cli.StringFlag{
|
||||
Name: "grpc-gateway-corsdomain",
|
||||
|
||||
@@ -39,7 +39,6 @@ var appFlags = []cli.Flag{
|
||||
flags.DisableGRPCGateway,
|
||||
flags.GRPCGatewayHost,
|
||||
flags.GRPCGatewayPort,
|
||||
flags.EthApiPort,
|
||||
flags.GPRCGatewayCorsDomain,
|
||||
flags.MinSyncPeers,
|
||||
flags.ContractDeploymentBlock,
|
||||
|
||||
@@ -102,7 +102,6 @@ var appHelpFlagGroups = []flagGroup{
|
||||
flags.DisableGRPCGateway,
|
||||
flags.GRPCGatewayHost,
|
||||
flags.GRPCGatewayPort,
|
||||
flags.EthApiPort,
|
||||
flags.GPRCGatewayCorsDomain,
|
||||
flags.HTTPWeb3ProviderFlag,
|
||||
flags.FallbackWeb3ProviderFlag,
|
||||
|
||||
Reference in New Issue
Block a user