mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 11:32:09 +00:00
5a66807989
* First take at updating everything to v5 * Patch gRPC gateway to use prysm v5 Fix patch * Update go ssz --------- Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
35 lines
1.2 KiB
Go
35 lines
1.2 KiB
Go
package endtoend
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/prysmaticlabs/prysm/v5/config/params"
|
|
"github.com/prysmaticlabs/prysm/v5/runtime/version"
|
|
"github.com/prysmaticlabs/prysm/v5/testing/endtoend/types"
|
|
)
|
|
|
|
func TestEndToEnd_MultiScenarioRun(t *testing.T) {
|
|
runner := e2eMinimal(t, types.InitForkCfg(version.Phase0, version.Deneb, params.E2ETestConfig()), types.WithEpochs(26))
|
|
|
|
runner.config.Evaluators = scenarioEvals()
|
|
runner.config.EvalInterceptor = runner.multiScenario
|
|
runner.scenarioRunner()
|
|
}
|
|
|
|
func TestEndToEnd_MinimalConfig_Web3Signer(t *testing.T) {
|
|
e2eMinimal(t, types.InitForkCfg(version.Phase0, version.Deneb, params.E2ETestConfig()), types.WithRemoteSigner()).run()
|
|
}
|
|
|
|
func TestEndToEnd_MinimalConfig_ValidatorRESTApi(t *testing.T) {
|
|
e2eMinimal(t, types.InitForkCfg(version.Phase0, version.Deneb, params.E2ETestConfig()), types.WithCheckpointSync(), types.WithValidatorRESTApi()).run()
|
|
}
|
|
|
|
func TestEndToEnd_ScenarioRun_EEOffline(t *testing.T) {
|
|
t.Skip("TODO(#10242) Prysm is current unable to handle an offline e2e")
|
|
runner := e2eMinimal(t, types.InitForkCfg(version.Phase0, version.Deneb, params.E2ETestConfig()))
|
|
|
|
runner.config.Evaluators = scenarioEvals()
|
|
runner.config.EvalInterceptor = runner.eeOffline
|
|
runner.scenarioRunner()
|
|
}
|