working Geth engine RPC interop

This commit is contained in:
Dustin Brody 2021-11-09 14:06:16 +00:00
parent 94635bbe20
commit 183cc8f407
No known key found for this signature in database
GPG Key ID: 3D7A11A0156519DC
1 changed files with 4 additions and 9 deletions

View File

@ -35,15 +35,10 @@ type
syncing = "SYNCING"
ForkchoiceUpdatedResponse* = object
status*: ForkchoiceUpdatedStatus
status*: string
payloadId*: Option[Quantity]
const
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.4/src/engine/specification.md#errors
PARSE_ERROR* = -32700
INVALID_REQUEST* = -32600
METHOD_NOT_FOUND* = -32601
INVALID_PARAMS* = -32602
INTERNAL_ERROR* = -32603
SERVER_ERROR* = -32000
UNKNOWN_PAYLOAD* = -32001
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.4/src/engine/interop/specification.md#error-codes
UNKNOWN_HEADER* = 4
UNKNOWN_PAYLOAD* = 5