mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-31 16:21:21 +00:00
84f31c873e
This PR separates ENGINE from Ethbackend. It makes it so: 1) EthBackend not a god class 2) We can abstract away engine API so that we can make it CL-like and enable Consensus-Execution driven design 3) Objective is Json-RPC -> Engine Consensus Module -> Execution module.
11 lines
462 B
Go
11 lines
462 B
Go
package engine_helpers
|
|
|
|
import "github.com/ledgerwatch/erigon/rpc"
|
|
|
|
const MaxBuilders = 128
|
|
|
|
var UnknownPayloadErr = rpc.CustomError{Code: -38001, Message: "Unknown payload"}
|
|
var InvalidForkchoiceStateErr = rpc.CustomError{Code: -38002, Message: "Invalid forkchoice state"}
|
|
var InvalidPayloadAttributesErr = rpc.CustomError{Code: -38003, Message: "Invalid payload attributes"}
|
|
var TooLargeRequestErr = rpc.CustomError{Code: -38004, Message: "Too large request"}
|