mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
Rename deploy_block in network config (#5850)
* Rename deploy_block.txt to deposit_contract_block.txt * fmt * Merge branch 'unstable' of https://github.com/sigp/lighthouse into rename-deply-block
This commit is contained in:
@@ -192,7 +192,11 @@ macro_rules! define_net {
|
|||||||
config_dir: ETH2_NET_DIR.config_dir,
|
config_dir: ETH2_NET_DIR.config_dir,
|
||||||
genesis_state_source: ETH2_NET_DIR.genesis_state_source,
|
genesis_state_source: ETH2_NET_DIR.genesis_state_source,
|
||||||
config: $this_crate::$include_file!($this_crate, "../", "config.yaml"),
|
config: $this_crate::$include_file!($this_crate, "../", "config.yaml"),
|
||||||
deploy_block: $this_crate::$include_file!($this_crate, "../", "deploy_block.txt"),
|
deploy_block: $this_crate::$include_file!(
|
||||||
|
$this_crate,
|
||||||
|
"../",
|
||||||
|
"deposit_contract_block.txt"
|
||||||
|
),
|
||||||
boot_enr: $this_crate::$include_file!($this_crate, "../", "boot_enr.yaml"),
|
boot_enr: $this_crate::$include_file!($this_crate, "../", "boot_enr.yaml"),
|
||||||
genesis_state_bytes: $this_crate::$include_file!($this_crate, "../", "genesis.ssz"),
|
genesis_state_bytes: $this_crate::$include_file!($this_crate, "../", "genesis.ssz"),
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ use url::Url;
|
|||||||
|
|
||||||
pub use eth2_config::GenesisStateSource;
|
pub use eth2_config::GenesisStateSource;
|
||||||
|
|
||||||
pub const DEPLOY_BLOCK_FILE: &str = "deploy_block.txt";
|
pub const DEPLOY_BLOCK_FILE: &str = "deposit_contract_block.txt";
|
||||||
pub const BOOT_ENR_FILE: &str = "boot_enr.yaml";
|
pub const BOOT_ENR_FILE: &str = "boot_enr.yaml";
|
||||||
pub const GENESIS_STATE_FILE: &str = "genesis.ssz";
|
pub const GENESIS_STATE_FILE: &str = "genesis.ssz";
|
||||||
pub const BASE_CONFIG_FILE: &str = "config.yaml";
|
pub const BASE_CONFIG_FILE: &str = "config.yaml";
|
||||||
|
|||||||
Reference in New Issue
Block a user