Skip to content

Commit

Permalink
Rename deploy_block in network config (#5850)
Browse files Browse the repository at this point in the history
* Rename deploy_block.txt to deposit_contract_block.txt

* fmt

* Merge branch 'unstable' of https://github.com/sigp/lighthouse into rename-deply-block
  • Loading branch information
pawanjay176 authored May 29, 2024
1 parent 48789c7 commit 6daeec3
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion common/eth2_config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
}
Expand Down
2 changes: 1 addition & 1 deletion common/eth2_network_config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 6daeec3

Please sign in to comment.