Bytes4 -> DomainType
This commit is contained in:
parent
765176ec8c
commit
e70863ca93
|
@ -251,11 +251,11 @@ The following values are (non-configurable) constants used throughout the specif
|
|||
|
||||
| Name | Value |
|
||||
| - | - |
|
||||
| `DOMAIN_BEACON_PROPOSER` | `Bytes4('0x00000000')` |
|
||||
| `DOMAIN_BEACON_ATTESTER` | `Bytes4('0x01000000')` |
|
||||
| `DOMAIN_RANDAO` | `Bytes4('0x02000000')` |
|
||||
| `DOMAIN_DEPOSIT` | `Bytes4('0x03000000')` |
|
||||
| `DOMAIN_VOLUNTARY_EXIT` | `Bytes4('0x04000000')` |
|
||||
| `DOMAIN_BEACON_PROPOSER` | `DomainType('0x00000000')` |
|
||||
| `DOMAIN_BEACON_ATTESTER` | `DomainType('0x01000000')` |
|
||||
| `DOMAIN_RANDAO` | `DomainType('0x02000000')` |
|
||||
| `DOMAIN_DEPOSIT` | `DomainType('0x03000000')` |
|
||||
| `DOMAIN_VOLUNTARY_EXIT` | `DomainType('0x04000000')` |
|
||||
|
||||
## Containers
|
||||
|
||||
|
|
|
@ -131,7 +131,7 @@ The following types are defined, mapping into `DomainType` (little endian):
|
|||
|
||||
| Name | Value |
|
||||
| - | - |
|
||||
| `DOMAIN_CUSTODY_BIT_CHALLENGE` | `Bytes4('0x06000000')` |
|
||||
| `DOMAIN_CUSTODY_BIT_CHALLENGE` | `DomainType('0x06000000')` |
|
||||
|
||||
### TODO PLACEHOLDER
|
||||
|
||||
|
|
|
@ -101,8 +101,8 @@ This document describes the shard transition function (data layer only) and the
|
|||
|
||||
| Name | Value |
|
||||
| - | - |
|
||||
| `DOMAIN_SHARD_PROPOSER` | `Bytes4('0x80000000')` |
|
||||
| `DOMAIN_SHARD_ATTESTER` | `Bytes4('0x81000000')` |
|
||||
| `DOMAIN_SHARD_PROPOSER` | `DomainType('0x80000000')` |
|
||||
| `DOMAIN_SHARD_ATTESTER` | `DomainType('0x81000000')` |
|
||||
|
||||
## Containers
|
||||
|
||||
|
|
Loading…
Reference in New Issue