add GeneralizedIndex to custom types
This commit is contained in:
parent
c1f2e92ad1
commit
1392c931d0
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
- [Phase 1 miscellaneous beacon chain changes](#phase-1-miscellaneous-beacon-chain-changes)
|
- [Phase 1 miscellaneous beacon chain changes](#phase-1-miscellaneous-beacon-chain-changes)
|
||||||
- [Table of contents](#table-of-contents)
|
- [Table of contents](#table-of-contents)
|
||||||
|
- [Custom types](#custom-types)
|
||||||
- [Configuration](#configuration)
|
- [Configuration](#configuration)
|
||||||
- [Classes](#classes)
|
- [Classes](#classes)
|
||||||
- [CompactCommittee](#compactcommittee)
|
- [CompactCommittee](#compactcommittee)
|
||||||
|
@ -26,6 +27,14 @@
|
||||||
|
|
||||||
<!-- /TOC -->
|
<!-- /TOC -->
|
||||||
|
|
||||||
|
## Custom types
|
||||||
|
|
||||||
|
We define the following Python custom types for type hinting and readability:
|
||||||
|
|
||||||
|
| Name | SSZ equivalent | Description |
|
||||||
|
| - | - | - |
|
||||||
|
| `GeneralizedIndex` | `uint64` | a generalized index into an SSZ merkle tree |
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
| Name | Value | Unit | Duration
|
| Name | Value | Unit | Duration
|
||||||
|
|
Loading…
Reference in New Issue