mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Add topics to chain id
This commit is contained in:
@@ -106,10 +106,11 @@ pub struct ChainSpec {
|
||||
|
||||
/*
|
||||
* Network specific parameters
|
||||
*
|
||||
*/
|
||||
pub boot_nodes: Vec<Multiaddr>,
|
||||
pub chain_id: u8,
|
||||
pub beacon_chain_topic: String,
|
||||
pub shard_topic_prefix: String,
|
||||
}
|
||||
|
||||
impl ChainSpec {
|
||||
@@ -216,10 +217,12 @@ impl ChainSpec {
|
||||
domain_transfer: 5,
|
||||
|
||||
/*
|
||||
* Boot nodes
|
||||
* Network specific
|
||||
*/
|
||||
boot_nodes: vec![],
|
||||
chain_id: 1, // mainnet chain id
|
||||
chain_id: 1, // foundation chain id
|
||||
beacon_chain_topic: String::from("beacon_chain"),
|
||||
shard_topic_prefix: String::from("attestations"), // simple single attestation topic for now
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user