Merge pull request #3772 from nalepae/patch-3

EIP-7594 - Update ENR record
This commit is contained in:
Hsiao-Wei Wang 2024-06-12 23:16:04 +08:00 committed by GitHub
commit 43d96cff3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,7 @@
- [DataColumnSidecarsByRange v1](#datacolumnsidecarsbyrange-v1) - [DataColumnSidecarsByRange v1](#datacolumnsidecarsbyrange-v1)
- [The discovery domain: discv5](#the-discovery-domain-discv5) - [The discovery domain: discv5](#the-discovery-domain-discv5)
- [ENR structure](#enr-structure) - [ENR structure](#enr-structure)
- [`custody_subnet_count`](#custody_subnet_count) - [Custody subnet count](#custody-subnet-count)
<!-- END doctoc generated TOC please keep comment here to allow auto update --> <!-- END doctoc generated TOC please keep comment here to allow auto update -->
<!-- /TOC --> <!-- /TOC -->
@ -284,10 +284,10 @@ After the initial data column sidecar, clients MAY stop in the process of respon
#### ENR structure #### ENR structure
##### `custody_subnet_count` ##### Custody subnet count
A new field is added to the ENR under the key `custody_subnet_count` to facilitate custody data column discovery. A new field is added to the ENR under the key `csc` to facilitate custody data column discovery.
| Key | Value | | Key | Value |
|:-----------------------|:-------------| |:------|:-----------------------------------------|
| `custody_subnet_count` | SSZ `uint64` | | `csc` | Custody subnet count, big endian integer |