-
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
Move block proposer out of v1alpha1 #12927
Conversation
# Conflicts: # beacon-chain/rpc/prysm/v1alpha1/validator/proposer.go
71dee7d
to
8c11e3d
Compare
@@ -93,7 +93,7 @@ func MakeAttestationsFromBitlists(bl []bitfield.Bitlist) []*ethpb.Attestation { | |||
} | |||
|
|||
// MakeSyncContributionsFromBitVector creates list of sync contributions from list of bitvector. | |||
func MakeSyncContributionsFromBitVector(bl []bitfield.Bitvector128) []*ethpb.SyncCommitteeContribution { |
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.
This had to change because I included proposer_utils_bench_test.go
in the test bazel rule in the core package, which was not present in the v1alpha1 package. Including the file led to incompatibility with minimal
config.
logrus.SetLevel(logrus.DebugLevel) | ||
logrus.SetOutput(io.Discard) | ||
prevConfig := params.BeaconConfig().Copy() | ||
defer params.OverrideBeaconConfig(prevConfig) | ||
params.OverrideBeaconConfig(params.MinimalSpecConfig()) |
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.
copied directly from v1alpha1
What type of PR is this?
Cleanup
What does this PR do? Why is it needed?
Moves proposer code out of
rpc/prysm/v1alpha1
and intorpc/core
. This has the following benefits:Server
type declared in v1alpha1