-
Notifications
You must be signed in to change notification settings - Fork 1.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
Deneb: publish block v1 ssz #12622
Deneb: publish block v1 ssz #12622
Conversation
2d07b5b
to
c939831
Compare
} | ||
blindedBlock, err := migration.BlindedDenebToV1Alpha1SignedBlock(blkContent.SignedBlindedBlock) | ||
if err != nil { | ||
return nil, status.Errorf(codes.InvalidArgument, "Submitted block is not blinded: %v", err) |
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.
Error message is incorrect
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.
hmm I think this should be right , instead of checking the is blinded function it's trying to migrate the type but if it's empty or doesn't marshal correctly I think we can say this. what do you think.
@@ -466,6 +467,29 @@ func TestServer_SubmitBlindedBlockSSZ(t *testing.T) { | |||
_, err = server.SubmitBlindedBlockSSZ(sszCtx, blockReq) | |||
assert.NotNil(t, err) | |||
}) | |||
t.Run("Deneb", func(t *testing.T) { |
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.
You should add a Deneb full
test case
c939831
to
aae17b3
Compare
aae17b3
to
f676ee7
Compare
What type of PR is this?
Feature
What does this PR do? Why is it needed?
implements the following apis for deneb
Which issues(s) does this PR fix?
part of #12248