Streaming proposal value for L16 and L18 #407
ancazamfir
started this conversation in
Specifications
Replies: 1 comment
-
Jumping super late here, the valid round should be send at the beginning, namely on the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Starknet defines the context of the value in the
Init
andFin
content:For L16 we call:
For L18:
This discussion is to clarify the following:
Let's assume
p
streamedv
at roundvr
.v
was received by the current proposerq
that also saw a polka forv
such thatq
setv
as valid (executedL42-L43
).v
atvr
and have stored (v
,vr
)q
will proposesv
so it callssend_known_proposal()
v
invr
should be able to tell early in the streaming process that this is a "resend" so it can ignore it. Shouldn'tInit
includevalid_round
in this case? This should be known as value builder had previously stored the round of the value (vr
) along withv
. What wasproposal_round
atvr
is nowvalid_round
atr
.r
(akaproposal_round
) insend_known_proposal()
API, ie the call should be:proposal_round
in this call goes inInit
orFin
and if the storedvr
goes inFin
orInit
vr
inFin
because of streaming issues? e.g. a validatorv
that has two parallel streams, one started byp
and one byq
with sameInit
content? cc @romacBeta Was this translation helpful? Give feedback.
All reactions