Skip to content

Commit

Permalink
Remove duplicate custom type definitions (#1214)
Browse files Browse the repository at this point in the history
Seems to be an accidental duplication of the type defs
  • Loading branch information
ralexstokes authored and JustinDrake committed Jun 25, 2019
1 parent b558198 commit 37b1872
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions specs/core/0_beacon-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
- [Rewards and penalties](#rewards-and-penalties)
- [Max operations per block](#max-operations-per-block)
- [Signature domains](#signature-domains)
- [Custom types](#custom-types-1)
- [Containers](#containers)
- [Misc dependencies](#misc-dependencies)
- [`Fork`](#fork)
Expand Down Expand Up @@ -270,20 +269,6 @@ The following values are (non-configurable) constants used throughout the specif
| `DOMAIN_VOLUNTARY_EXIT` | `4` |
| `DOMAIN_TRANSFER` | `5` |

## Custom types

We define the following Python custom types for type hinting and readability:

| Name | SSZ equivalent | Description |
| - | - | - |
| `Slot` | `uint64` | a slot number |
| `Epoch` | `uint64` | an epoch number |
| `Shard` | `uint64` | a shard number |
| `ValidatorIndex` | `uint64` | a validator registry index |
| `Gwei` | `uint64` | an amount in Gwei |
| `BLSPubkey` | `Bytes48` | a BLS12-381 public key |
| `BLSSignature` | `Bytes96` | a BLS12-381 signature |

## Containers

The following types are [SimpleSerialize (SSZ)](../simple-serialize.md) containers.
Expand Down

0 comments on commit 37b1872

Please sign in to comment.