Skip to content
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

Bellatrix evaluators #10506

Merged
merged 321 commits into from
Apr 11, 2022
Merged

Bellatrix evaluators #10506

merged 321 commits into from
Apr 11, 2022

Conversation

rkapka
Copy link
Contributor

@rkapka rkapka commented Apr 11, 2022

What type of PR is this?

Feature

What does this PR do? Why is it needed?

Part of #10228. This PR introduces two new E2E evaluators:

  • bellatrix_fork_transition
  • transactions_present_at_epoch

kasey and others added 30 commits October 8, 2021 09:18
nisdas and others added 13 commits March 21, 2022 15:04
(cherry picked from commit f362af9862db680b6352692217ad5c08d44a1e86)

# Conflicts:
#	proto/prysm/v1alpha1/validator.pb.go
# Conflicts:
#	config/params/loader.go
#	proto/prysm/v1alpha1/validator.pb.go
# Conflicts:
#	beacon-chain/rpc/prysm/v1alpha1/beacon/blocks.go
#	deps.bzl
#	go.mod
#	go.sum
#	testing/endtoend/components/beacon_node.go
#	testing/endtoend/components/eth1/transactions.go
#	testing/endtoend/deps.bzl
#	testing/endtoend/endtoend_test.go
@rkapka rkapka requested a review from a team as a code owner April 11, 2022 09:05
@rkapka rkapka added Ready For Review A pull request ready for code review E2E Tests End-To-End testing Merge PRs related to the great milestone the merge labels Apr 11, 2022
if err != nil {
return errors.Wrap(err, "failed to get blocks from beacon-chain")
}
expectedTxNum := int(math.Round(float64(params.E2ETestConfig().SlotsPerEpoch) * float64(e2e.NumOfExecEngineTxs) * 0.7))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parameterize the 0.7 value. If desire in the future, we can lower/increase it.

@prylabs-bulldozer prylabs-bulldozer bot merged commit 36e4f49 into develop Apr 11, 2022
@delete-merged-branch delete-merged-branch bot deleted the bellatrix-evaluators branch April 11, 2022 13:45
var NumOfExecEngineTxs = uint64(200)

// ExpectedExecEngineTxsThreshold is the portion of execution engine transactions we expect to find in blocks.
var ExpectedExecEngineTxsThreshold = 0.7
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why 0.7? Shouldn't it be closer to 100%?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E2E Tests End-To-End testing Merge PRs related to the great milestone the merge Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants