Add zinken testnet (#1741)

## Issue Addressed

- Resolves #1722

## Proposed Changes

This extends @danielschonfeld's work in #1739 with:

- Use an empty boot node list
- Remove the genesis state

## Additional Info

NA


Co-authored-by: Daniel Schonfeld <daniel@schonfeld.org>
This commit is contained in:
Paul Hauner
2020-10-07 10:10:35 +00:00
parent a886afd3ca
commit a67fa5f4a4
5 changed files with 10 additions and 4 deletions

View File

@@ -7,7 +7,9 @@
//!
//! https://github.com/sigp/lighthouse/pull/605
//!
use eth2_config::{include_altona_file, include_medalla_file, include_spadina_file, unique_id};
use eth2_config::{
include_altona_file, include_medalla_file, include_spadina_file, include_zinken_file, unique_id,
};
use enr::{CombinedKey, Enr};
use ssz::{Decode, Encode};
@@ -54,8 +56,9 @@ macro_rules! define_net {
const ALTONA: HardcodedNet = define_net!(altona, include_altona_file);
const MEDALLA: HardcodedNet = define_net!(medalla, include_medalla_file);
const SPADINA: HardcodedNet = define_net!(spadina, include_spadina_file);
const ZINKEN: HardcodedNet = define_net!(zinken, include_zinken_file);
const HARDCODED_NETS: &[HardcodedNet] = &[ALTONA, MEDALLA, SPADINA];
const HARDCODED_NETS: &[HardcodedNet] = &[ALTONA, MEDALLA, SPADINA, ZINKEN];
pub const DEFAULT_HARDCODED_TESTNET: &str = "medalla";
/// Specifies an Eth2 testnet.