mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
Rename Merge to Bellatrix (#5601)
* Rename Merge to Bellatrix * Remove tree-hash-cache which got readded from the rebase
This commit is contained in:
@@ -32,7 +32,7 @@ GENESIS_DELAY: 604800
|
||||
# Altair
|
||||
ALTAIR_FORK_VERSION: 0x01000000
|
||||
ALTAIR_FORK_EPOCH: 18446744073709551615
|
||||
# Merge
|
||||
# Bellatrix
|
||||
BELLATRIX_FORK_VERSION: 0x02000000
|
||||
BELLATRIX_FORK_EPOCH: 18446744073709551615
|
||||
# Sharding
|
||||
|
||||
@@ -416,7 +416,7 @@ fn eth1_cache_follow_distance_manual() {
|
||||
}
|
||||
|
||||
// Tests for Bellatrix flags.
|
||||
fn run_merge_execution_endpoints_flag_test(flag: &str) {
|
||||
fn run_bellatrix_execution_endpoints_flag_test(flag: &str) {
|
||||
use sensitive_url::SensitiveUrl;
|
||||
let urls = vec!["http://sigp.io/no-way:1337", "http://infura.not_real:4242"];
|
||||
// we don't support redundancy for execution-endpoints
|
||||
@@ -500,15 +500,15 @@ fn execution_timeout_multiplier_flag() {
|
||||
});
|
||||
}
|
||||
#[test]
|
||||
fn merge_execution_endpoints_flag() {
|
||||
run_merge_execution_endpoints_flag_test("execution-endpoints")
|
||||
fn bellatrix_execution_endpoints_flag() {
|
||||
run_bellatrix_execution_endpoints_flag_test("execution-endpoints")
|
||||
}
|
||||
#[test]
|
||||
fn merge_execution_endpoint_flag() {
|
||||
run_merge_execution_endpoints_flag_test("execution-endpoint")
|
||||
fn bellatrix_execution_endpoint_flag() {
|
||||
run_bellatrix_execution_endpoints_flag_test("execution-endpoint")
|
||||
}
|
||||
#[test]
|
||||
fn merge_jwt_secrets_flag() {
|
||||
fn bellatrix_jwt_secrets_flag() {
|
||||
let dir = TempDir::new().expect("Unable to create temporary directory");
|
||||
let mut file = File::create(dir.path().join("jwtsecrets")).expect("Unable to create file");
|
||||
file.write_all(b"0x3cbc11b0d8fa16f3344eacfd6ff6430b9d30734450e8adcf5400f88d327dcb33")
|
||||
@@ -533,7 +533,7 @@ fn merge_jwt_secrets_flag() {
|
||||
});
|
||||
}
|
||||
#[test]
|
||||
fn merge_fee_recipient_flag() {
|
||||
fn bellatrix_fee_recipient_flag() {
|
||||
let dir = TempDir::new().expect("Unable to create temporary directory");
|
||||
CommandLineTest::new()
|
||||
.flag("execution-endpoint", Some("http://meow.cats"))
|
||||
|
||||
Reference in New Issue
Block a user