Closed bryanchriswhite closed 4 months ago
Going to reword what @bryanchriswhite said from my POV just so it's clearer to me.
Assume the following:
App
delegated to Gateway
at start of Session (height=9
)height=10
height=20
Gateway
signed a relay
on behalf of App
at heigh=12
App
undelegated from Gateway
at height=15
Proof
is validated at some point after the session (e.g. height=26
)Gateway
was delegated to by App
between height=[10,20)
because the state of the blockchain at height=26
says otherwiseClose as per #518
Objective
While application re-delegation events may be observed within a session, which MUST update on-chain state, this SHOULD NOT effect the authority of the gateways until after the corresponding grace period has elapsed. This would become problematic during proof verification because 1) proofs are verified after the session (and some grace period) and 2) proof verification includes validating ring signatures, which therefore constrains the timing of re-delegation effectiveness (see: Redelegation Event Delays).
I.e. gateways which had authority to sign for an application which was delegated to it at the beginning of the current session should retain that authority until after the respective proof window has closed.
Origin Document
Redelegation Event Delays
Goals
Deliverables
Non-goals / Non-deliverables
RingCache
client.General deliverables
Creator: @bryanchriswhite Co-Owners: @red-0ne