mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
update lighthouse and tests (#13470)
This commit is contained in:
parent
a608630727
commit
5d3663ef8d
@ -1,6 +1,6 @@
|
|||||||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # gazelle:keep
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # gazelle:keep
|
||||||
|
|
||||||
lighthouse_version = "v4.5.0"
|
lighthouse_version = "v4.6.0-rc.0"
|
||||||
lighthouse_archive_name = "lighthouse-%s-x86_64-unknown-linux-gnu-portable.tar.gz" % lighthouse_version
|
lighthouse_archive_name = "lighthouse-%s-x86_64-unknown-linux-gnu-portable.tar.gz" % lighthouse_version
|
||||||
|
|
||||||
def e2e_deps():
|
def e2e_deps():
|
||||||
@ -14,7 +14,7 @@ def e2e_deps():
|
|||||||
|
|
||||||
http_archive(
|
http_archive(
|
||||||
name = "lighthouse",
|
name = "lighthouse",
|
||||||
sha256 = "1e91ecab827649ac8ea0cfbb11ee2fb159cecd6ac5125e56dd27004225b128c9",
|
integrity = "sha256-9jmQN1AJUyogscUYibFchZMUXH0ZRKofW4oPhAFVRAE=",
|
||||||
build_file = "@prysm//testing/endtoend:lighthouse.BUILD",
|
build_file = "@prysm//testing/endtoend:lighthouse.BUILD",
|
||||||
url = ("https://github.com/sigp/lighthouse/releases/download/%s/" + lighthouse_archive_name) % lighthouse_version,
|
url = ("https://github.com/sigp/lighthouse/releases/download/%s/" + lighthouse_archive_name) % lighthouse_version,
|
||||||
)
|
)
|
||||||
|
@ -10,10 +10,10 @@ import (
|
|||||||
|
|
||||||
// Run mainnet e2e config with the current release validator against latest beacon node.
|
// Run mainnet e2e config with the current release validator against latest beacon node.
|
||||||
func TestEndToEnd_MainnetConfig_ValidatorAtCurrentRelease(t *testing.T) {
|
func TestEndToEnd_MainnetConfig_ValidatorAtCurrentRelease(t *testing.T) {
|
||||||
r := e2eMainnet(t, true, false, types.InitForkCfg(version.Phase0, version.Capella, params.E2EMainnetTestConfig()))
|
r := e2eMainnet(t, true, false, types.InitForkCfg(version.Phase0, version.Deneb, params.E2EMainnetTestConfig()))
|
||||||
r.run()
|
r.run()
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestEndToEnd_MainnetConfig_MultiClient(t *testing.T) {
|
func TestEndToEnd_MainnetConfig_MultiClient(t *testing.T) {
|
||||||
e2eMainnet(t, false, true, types.InitForkCfg(version.Phase0, version.Capella, params.E2EMainnetTestConfig()), types.WithValidatorCrossClient()).run()
|
e2eMainnet(t, false, true, types.InitForkCfg(version.Phase0, version.Deneb, params.E2EMainnetTestConfig()), types.WithValidatorCrossClient()).run()
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestEndToEnd_MultiScenarioRun_Multiclient(t *testing.T) {
|
func TestEndToEnd_MultiScenarioRun_Multiclient(t *testing.T) {
|
||||||
runner := e2eMainnet(t, false, true, types.InitForkCfg(version.Phase0, version.Capella, params.E2EMainnetTestConfig()), types.WithEpochs(24))
|
runner := e2eMainnet(t, false, true, types.InitForkCfg(version.Phase0, version.Deneb, params.E2EMainnetTestConfig()), types.WithEpochs(24))
|
||||||
runner.config.Evaluators = scenarioEvalsMulti()
|
runner.config.Evaluators = scenarioEvalsMulti()
|
||||||
runner.config.EvalInterceptor = runner.multiScenarioMulticlient
|
runner.config.EvalInterceptor = runner.multiScenarioMulticlient
|
||||||
runner.scenarioRunner()
|
runner.scenarioRunner()
|
||||||
|
Loading…
Reference in New Issue
Block a user