mirror of
https://github.com/sigp/lighthouse.git
synced 2026-06-29 10:54:24 +00:00
Improve ergonomics of adding a new network config (#2489)
## Issue Addressed
NA
## Proposed Changes
This PR adds some more fancy macro magic to make it easier to add a new built-in (aka "baked-in") testnet config to the `lighthouse` binary.
Previously, a user needed to modify several files and repeat themselves several times. Now, they only need to add a single definition in the `eth2_config` crate. No repetition 🎉
This commit is contained in:
@@ -8,3 +8,4 @@ edition = "2018"
|
||||
serde = "1.0.116"
|
||||
serde_derive = "1.0.116"
|
||||
types = { path = "../../consensus/types" }
|
||||
paste = "1.0.5"
|
||||
|
||||
Reference in New Issue
Block a user