eth2.0-specs/configs/constant_presets
Danny Ryan 2f43f9c339
Merge pull request #1202 from ethereum/test_genesis
Add `test_genesis.py` and fix `is_genesis_trigger`
2019-06-29 23:31:32 -05:00
..
README.md Doc standardization (#1039) 2019-05-06 16:30:32 +01:00
mainnet.yaml Merge pull request #1202 from ethereum/test_genesis 2019-06-29 23:31:32 -05:00
minimal.yaml Merge pull request #1202 from ethereum/test_genesis 2019-06-29 23:31:32 -05:00

README.md

Constant Presets

This directory contains a set of constants presets used for testing, testnets, and mainnet.

A preset file contains all the constants known for its target. Later-fork constants can be ignored, e.g. ignore phase1 constants as a client that only supports phase 0 currently.

Format

Each preset is a key-value mapping.

Key: an UPPER_SNAKE_CASE (a.k.a. "macro case") formatted string, name of the constant.

Value can be either:

  • an unsigned integer number, can be up to 64 bits (incl.)
  • a hexadecimal string, prefixed with 0x

Presets may contain comments to describe the values.

See mainnet.yaml for a complete example.