mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
SidecarProposerExpected: Use the correct value of proposer index in the singleflight group. (#15993)
This commit is contained in:
@@ -58,9 +58,10 @@ func WithDenebSlot(slot primitives.Slot) DenebBlockGeneratorOption {
|
||||
|
||||
func GenerateTestDenebBlockWithSidecar(t *testing.T, parent [32]byte, slot primitives.Slot, nblobs int, opts ...DenebBlockGeneratorOption) (blocks.ROBlock, []blocks.ROBlob) {
|
||||
g := &denebBlockGenerator{
|
||||
parent: parent,
|
||||
slot: slot,
|
||||
nblobs: nblobs,
|
||||
parent: parent,
|
||||
slot: slot,
|
||||
nblobs: nblobs,
|
||||
proposer: 3, // Anything else than zero not to fallback to the default uin64 value.
|
||||
}
|
||||
for _, o := range opts {
|
||||
o(g)
|
||||
|
||||
Reference in New Issue
Block a user