mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-23 14:54:45 +00:00
Spadina support (v2) (#1670)
## Issue Addressed Resolves #1651 ## Description This supercedes #1658. Great work was done by @pawanjay176, I just needed to make a change whilst he is away. See #1658 for a description, prior reviews and approval by @michaelsproul. ## Additional info Ignores a rustsec advisory. This is tracked in #1669. Co-authored-by: pawan <pawandhananjay@gmail.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
//!
|
||||
//! https://github.com/sigp/lighthouse/pull/605
|
||||
//!
|
||||
use eth2_config::{include_altona_file, include_medalla_file, unique_id};
|
||||
use eth2_config::{include_altona_file, include_medalla_file, include_spadina_file, unique_id};
|
||||
|
||||
use enr::{CombinedKey, Enr};
|
||||
use ssz::{Decode, Encode};
|
||||
@@ -53,8 +53,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 HARDCODED_NETS: &[HardcodedNet] = &[ALTONA, MEDALLA];
|
||||
const HARDCODED_NETS: &[HardcodedNet] = &[ALTONA, MEDALLA, SPADINA];
|
||||
pub const DEFAULT_HARDCODED_TESTNET: &str = "medalla";
|
||||
|
||||
/// Specifies an Eth2 testnet.
|
||||
|
||||
Reference in New Issue
Block a user