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:
Pawan Dhananjay
2024-05-30 00:26:11 +05:30
committed by GitHub
parent 48789c7c16
commit 6daeec31e2
7 changed files with 6 additions and 2 deletions

View File

@@ -192,7 +192,11 @@ macro_rules! define_net {
config_dir: ETH2_NET_DIR.config_dir,
genesis_state_source: ETH2_NET_DIR.genesis_state_source,
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"),
genesis_state_bytes: $this_crate::$include_file!($this_crate, "../", "genesis.ssz"),
}

View File

@@ -29,7 +29,7 @@ use url::Url;
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 GENESIS_STATE_FILE: &str = "genesis.ssz";
pub const BASE_CONFIG_FILE: &str = "config.yaml";