Skip to content

Commit

Permalink
Change hash to exec block hash
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhauner committed Mar 1, 2022
1 parent 760e69a commit f5d2b27
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lighthouse/tests/beacon_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use std::process::Command;
use std::str::FromStr;
use std::string::ToString;
use tempfile::TempDir;
use types::{Address, Checkpoint, Epoch, Hash256, MainnetEthSpec};
use types::{Address, Checkpoint, Epoch, ExecutionBlockHash, Hash256, MainnetEthSpec};
use unused_port::{unused_tcp_port, unused_udp_port};

const DEFAULT_ETH1_ENDPOINT: &str = "http://localhost:8545/";
Expand Down Expand Up @@ -263,7 +263,6 @@ fn terminal_total_difficulty_override_flag() {
}
#[test]
fn terminal_block_hash_and_activation_epoch_override_flags() {
use beacon_node::beacon_chain::types::Hash256;
CommandLineTest::new()
.flag("terminal-block-hash-epoch-override", Some("1337"))
.flag(
Expand All @@ -274,7 +273,7 @@ fn terminal_block_hash_and_activation_epoch_override_flags() {
.with_spec::<MainnetEthSpec, _>(|spec| {
assert_eq!(
spec.terminal_block_hash,
Hash256::from_str(
ExecutionBlockHash::from_str(
"0x4242424242424242424242424242424242424242424242424242424242424242"
)
.unwrap()
Expand Down

0 comments on commit f5d2b27

Please sign in to comment.