Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
terencechain committed Mar 29, 2024
1 parent 35d6429 commit f2c0da4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion beacon-chain/rpc/eth/beacon/handlers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3648,6 +3648,8 @@ func TestServer_broadcastBlobSidecars(t *testing.T) {
Broadcaster: &mockp2p.MockBroadcaster{},
}

require.NoError(t, server.broadcastBlobSidecars(context.Background(), b))
blk, err := blocks.NewSignedBeaconBlock(b.Block)
require.NoError(t, err)
require.NoError(t, server.broadcastBlobSidecars(context.Background(), blk, b.GetDeneb().Blobs, b.GetDeneb().KzgProofs))
require.LogsContain(t, hook, "Broadcasted blob sidecar")
}

0 comments on commit f2c0da4

Please sign in to comment.