2023-11-01 03:32:09 +00:00
|
|
|
# Nimbus
|
|
|
|
# Copyright (c) 2023 Status Research & Development GmbH
|
|
|
|
# Licensed under either of
|
|
|
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0)
|
|
|
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT) or
|
|
|
|
# http://opensource.org/licenses/MIT)
|
|
|
|
# at your option. This file may not be copied, modified, or distributed except
|
|
|
|
# according to those terms.
|
|
|
|
|
2023-08-21 02:08:54 +00:00
|
|
|
import
|
|
|
|
web3/ethtypes,
|
|
|
|
web3/engine_api_types,
|
|
|
|
../../../nimbus/rpc/execution_types
|
2023-07-09 02:16:22 +00:00
|
|
|
|
2023-10-23 13:59:57 +00:00
|
|
|
proc engine_newPayloadV1(payload: ExecutionPayload): PayloadStatusV1
|
|
|
|
proc engine_newPayloadV2(payload: ExecutionPayload): PayloadStatusV1
|
|
|
|
proc engine_newPayloadV3(payload: ExecutionPayload,
|
|
|
|
expectedBlobVersionedHashes: Option[seq[VersionedHash]],
|
|
|
|
parentBeaconBlockRoot: Option[FixedBytes[32]]): PayloadStatusV1
|
|
|
|
|
2023-07-09 02:16:22 +00:00
|
|
|
proc engine_newPayloadV2(payload: ExecutionPayloadV1OrV2): PayloadStatusV1
|
2023-08-21 02:08:54 +00:00
|
|
|
proc engine_forkchoiceUpdatedV2(forkchoiceState: ForkchoiceStateV1, payloadAttributes: Option[PayloadAttributes]): ForkchoiceUpdatedResponse
|
|
|
|
proc engine_forkchoiceUpdatedV3(forkchoiceState: ForkchoiceStateV1, payloadAttributes: Option[PayloadAttributes]): ForkchoiceUpdatedResponse
|