Merge branch 'interop' into api-alignment

This commit is contained in:
Luke Anderson 2019-09-13 20:53:20 +10:00
commit ec65934061
No known key found for this signature in database
GPG Key ID: 44408169EC61E228
8 changed files with 20 additions and 4 deletions

View File

@ -34,7 +34,7 @@ members = [
"beacon_node/version", "beacon_node/version",
"beacon_node/beacon_chain", "beacon_node/beacon_chain",
"tests/ef_tests", "tests/ef_tests",
"tests/lcli", "lcli",
"protos", "protos",
"validator_client", "validator_client",
"account_manager", "account_manager",

View File

@ -357,6 +357,14 @@ fn main() {
let log = slog::Logger::root(drain.fuse(), o!()); let log = slog::Logger::root(drain.fuse(), o!());
if std::mem::size_of::<usize>() != 8 {
crit!(
log,
"Lighthouse only supports 64bit CPUs";
"detected" => format!("{}bit", std::mem::size_of::<usize>() * 8)
);
}
warn!( warn!(
log, log,
"Ethereum 2.0 is pre-release. This software is experimental." "Ethereum 2.0 is pre-release. This software is experimental."

View File

@ -14,6 +14,6 @@ log = "0.4"
serde = "1.0" serde = "1.0"
serde_yaml = "0.8" serde_yaml = "0.8"
simple_logger = "1.0" simple_logger = "1.0"
types = { path = "../../eth2/types" } types = { path = "../eth2/types" }
state_processing = { path = "../../eth2/state_processing" } state_processing = { path = "../eth2/state_processing" }
eth2_ssz = { path = "../../eth2/utils/ssz" } eth2_ssz = { path = "../eth2/utils/ssz" }

View File

@ -157,6 +157,14 @@ fn main() {
let mut log = slog::Logger::root(drain.fuse(), o!()); let mut log = slog::Logger::root(drain.fuse(), o!());
if std::mem::size_of::<usize>() != 8 {
crit!(
log,
"Lighthouse only supports 64bit CPUs";
"detected" => format!("{}bit", std::mem::size_of::<usize>() * 8)
);
}
let (client_config, eth2_config) = match get_configs(&matches, &mut log) { let (client_config, eth2_config) = match get_configs(&matches, &mut log) {
Ok(tuple) => tuple, Ok(tuple) => tuple,
Err(e) => { Err(e) => {