Skip to content
Snippets Groups Projects
  • David Robertson's avatar
    7a199951
    Correct a misnamed argument in state res v2 (#13467) · 7a199951
    David Robertson authored
    In state res v2, we apply two passes of iterative auth checks. The first
    pass replays power events and events in their auth chains, but only
    those belonging to the full conflicted set. The source code as written
    suggests that we want only those belonging to the auth difference (which
    is a smaller set of events).
    
    At runtime we were doing the correct thing anyway, because the only
    callsite of `_reverse_topological_power_sort` passes in the
    `full_conflicted_set`. So this really is just a rename.
    7a199951
    History
    Correct a misnamed argument in state res v2 (#13467)
    David Robertson authored
    In state res v2, we apply two passes of iterative auth checks. The first
    pass replays power events and events in their auth chains, but only
    those belonging to the full conflicted set. The source code as written
    suggests that we want only those belonging to the auth difference (which
    is a smaller set of events).
    
    At runtime we were doing the correct thing anyway, because the only
    callsite of `_reverse_topological_power_sort` passes in the
    `full_conflicted_set`. So this really is just a rename.