Skip to content

Commit 9e351f7

Browse files
committed
Add nfd
1 parent 7d3a047 commit 9e351f7

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

types/p2p.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ MetaData:
3939
custody_group_count:
4040
description: "Uint64 representing the node's custody group count. The metadata is present from the Fulu fork."
4141
$ref: "./primitive.yaml#/Uint64"
42+
next_fork_digest:
43+
description: "Byte4 representing the next fork digest. The metadata is present from the Fulu fork."
44+
$ref: "./primitive.yaml#/Byte4"
4245

4346
Peer:
4447
type: object

types/primitive.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ Root:
6060
example: "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
6161
pattern: "^0x[a-fA-F0-9]{64}$"
6262

63+
Byte4:
64+
type: string
65+
format: hex
66+
example: "0x00000000"
67+
pattern: "^0x[a-fA-F0-9]{8}$"
68+
6369
Bytes32:
6470
type: string
6571
format: hex

0 commit comments

Comments
 (0)