Skip to content

Commit c3b386b

Browse files
committed
alpha.8 engine API
1 parent 58b2e07 commit c3b386b

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

web3/engine_api_callsigs.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.7/src/engine/specification.md#core
1+
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.8/src/engine/specification.md#core
22

33
import ethtypes, engine_api_types
44

web3/engine_api_types.nim

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ export
77
ethtypes
88

99
type
10-
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.7/src/engine/specification.md#payloadattributesv1
10+
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.8/src/engine/specification.md#payloadattributesv1
1111
PayloadAttributesV1* = object
1212
timestamp*: Quantity
1313
prevRandao*: FixedBytes[32]
1414
suggestedFeeRecipient*: Address
1515

16-
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.7/src/engine/specification.md#payloadstatusv1
16+
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.8/src/engine/specification.md#payloadstatusv1
1717
PayloadExecutionStatus* {.pure.} = enum
1818
valid = "VALID"
1919
invalid = "INVALID"
@@ -27,27 +27,27 @@ type
2727
latestValidHash*: Option[BlockHash]
2828
validationError*: Option[string]
2929

30-
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.7/src/engine/specification.md#forkchoicestatev1
30+
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.8/src/engine/specification.md#forkchoicestatev1
3131
ForkchoiceStateV1* = object
3232
headBlockHash*: BlockHash
3333
safeBlockHash*: BlockHash
3434
finalizedBlockHash*: BlockHash
3535

36-
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.7/src/engine/specification.md#response-1
36+
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.8/src/engine/specification.md#response-1
3737
PayloadID* = FixedBytes[8]
3838

3939
ForkchoiceUpdatedResponse* = object
4040
payloadStatus*: PayloadStatusV1
4141
payloadId*: Option[PayloadID]
4242

43-
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.7/src/engine/specification.md#transitionconfigurationv1
43+
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.8/src/engine/specification.md#transitionconfigurationv1
4444
TransitionConfigurationV1* = object
4545
terminalTotalDifficulty*: Uint256
4646
terminalBlockHash*: BlockHash
4747
terminalBlockNumber*: Quantity
4848

4949
const
50-
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.7/src/engine/specification.md#errors
50+
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.8/src/engine/specification.md#errors
5151
engineApiParseError* = - 32700
5252
engineApiInvalidRequest* = -32600
5353
engineApiMethodNotFound* = -32601

web3/ethtypes.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ type
203203

204204
TypedTransaction* = distinct seq[byte]
205205

206-
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.7/src/engine/specification.md#executionpayloadv1
206+
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.8/src/engine/specification.md#executionpayloadv1
207207
ExecutionPayloadV1* = object
208208
parentHash*: BlockHash
209209
feeRecipient*: Address

0 commit comments

Comments
 (0)