Skip to content

Commit

Permalink
fix deneb signed beacon block
Browse files Browse the repository at this point in the history
  • Loading branch information
olegshmuelov committed Jan 15, 2024
1 parent 8cc6c47 commit 4b1f59d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions types/testingutils/beacon_node_versioned.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,9 @@ var TestingSignedBeaconBlockV = func(ks *TestKeySet, version spec.DataVersion) s
if vBlk.Deneb.Block == nil {
panic("empty block")
}
return &apiv1deneb.SignedBlockContents{
SignedBlock: &deneb.SignedBeaconBlock{
Message: vBlk.Deneb.Block,
Signature: signBeaconObject(vBlk.Deneb, types.DomainProposer, ks),
},
KZGProofs: vBlk.Deneb.KZGProofs,
Blobs: vBlk.Deneb.Blobs,
return &deneb.SignedBeaconBlock{
Message: vBlk.Deneb.Block,
Signature: signBeaconObject(vBlk.Deneb.Block, types.DomainProposer, ks),
}
default:
panic("unsupported version")
Expand Down

0 comments on commit 4b1f59d

Please sign in to comment.