mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
* wip electra e2e * add Deneb state to `validatorsParticipating` * Run bazel * add Electra state to `validatorsParticipating` * fixing some e2e issues * more evaluator fixes and changelog * adding in special condition to pass electra epoch participation * fixing typo * missed updating forks for e2e tests * reverting change current release fork * missed updating e2e config for test * updating to latest devnet 5 to fix unit tests * go mod tidy * fixing branch, temporary will need to update geth version later * update to goethereum v1.15.0 * changing changelog to reflect update in geth dependency * fixing test failures * adding fix for range request limit during transition period between forks * enabling validator rest for Electra * rolling back error message * adding fixed change logs * fixing dependencies based on nishant's comments, deps.bzl should be updated not workspace * partially reverting incorrect change * removing fixes from change log, handled in separate prs * removing comment * updating update fraction field to the corrected spec value from prague * Update testing/endtoend/evaluators/fork.go Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com> --------- Co-authored-by: rkapka <radoslaw.kapka@gmail.com> Co-authored-by: terence tsao <terence@prysmaticlabs.com> Co-authored-by: Nishant Das <nishdas93@gmail.com> Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
41 lines
1.5 KiB
Go
41 lines
1.5 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) {
|
|
cfg := types.InitForkCfg(version.Bellatrix, version.Deneb, params.E2ETestConfig())
|
|
runner := e2eMinimal(t, cfg, types.WithEpochs(26))
|
|
// override for scenario tests
|
|
runner.config.Evaluators = scenarioEvals(cfg)
|
|
runner.config.EvalInterceptor = runner.multiScenario
|
|
runner.scenarioRunner()
|
|
}
|
|
|
|
func TestEndToEnd_MinimalConfig_Web3Signer(t *testing.T) {
|
|
e2eMinimal(t, types.InitForkCfg(version.Bellatrix, version.Deneb, params.E2ETestConfig()), types.WithRemoteSigner()).run()
|
|
}
|
|
|
|
func TestEndToEnd_MinimalConfig_Web3Signer_PersistentKeys(t *testing.T) {
|
|
e2eMinimal(t, types.InitForkCfg(version.Bellatrix, version.Deneb, params.E2ETestConfig()), types.WithRemoteSignerAndPersistentKeysFile()).run()
|
|
}
|
|
|
|
func TestEndToEnd_MinimalConfig_ValidatorRESTApi(t *testing.T) {
|
|
e2eMinimal(t, types.InitForkCfg(version.Bellatrix, version.Electra, 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")
|
|
cfg := types.InitForkCfg(version.Bellatrix, version.Deneb, params.E2ETestConfig())
|
|
runner := e2eMinimal(t, cfg)
|
|
// override for scenario tests
|
|
runner.config.Evaluators = scenarioEvals(cfg)
|
|
runner.config.EvalInterceptor = runner.eeOffline
|
|
runner.scenarioRunner()
|
|
}
|