-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add post-genesis deposit testing to long-running E2E #5449
Add post-genesis deposit testing to long-running E2E #5449
Conversation
…e2e-add-depsoits
…e2e-add-depsoits
…e2e-add-depsoits
endtoend/evaluators/validator.go
Outdated
@@ -46,6 +49,13 @@ func afterNthEpoch(afterEpoch uint64) func(uint64) bool { | |||
} | |||
} | |||
|
|||
// Not including first epoch because of issues with genesis. | |||
func betweenEpochs(fromEpoch uint64, toEpoch uint64) func(uint64) bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please change to boolean type name
func betweenEpochs(fromEpoch uint64, toEpoch uint64) func(uint64) bool { | |
func isBetweenEpochs(fromEpoch uint64, toEpoch uint64) func(uint64) bool { |
endtoend/long_minimal_e2e_test.go
Outdated
var err error | ||
if epochs, ok := os.LookupEnv("E2E_EPOCHS"); ok { | ||
if !ok { | ||
return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return | |
t.Skip("E2E_EPOCHS not set") |
endtoend/long_minimal_e2e_test.go
Outdated
var err error | ||
if epochs, ok := os.LookupEnv("E2E_EPOCHS"); ok { | ||
if !ok { | ||
t.Skip("E2E EPOCHS not set") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
t.Skip("E2E EPOCHS not set") | |
t.Skip("E2E_EPOCHS not set") |
…to e2e-add-depsoits
@0xKiwi can we open future PR's into prysm directly so that bulldozer can auto-update? (it doesn't always work, but it can help sometimes). @prestonvanloon ready for another look |
This PR adds deposit testing support to E2E to fully test validator deposits and activation.
Due to the time it takes to test this, it is only run as part of the "Long Running" E2E, now split up into its own file.
If E2E_EPOCHS is not set, the test will not run. Testing show allow for at least 16 epochs to ensure deposited validators are performing correctly.