microsoft / CCF

Confidential Consortium Framework

Home Page:https://microsoft.github.io/CCF/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Only log lower and upper bounds of `committable_indices` to correct claim that we only log variables values constant in space.

lemmy opened this issue · comments

@achamayou correctly observes that we claim that trace validation only logs variable values that are constant in space. However, committable_indices, is not constant in space. While it is unlikely for committable_indices to grow prohibitively large outside of pathological behaviors, state.h should only log committable_indices' lower and upper bound.

committable_indices);

Due to the way how Traceccfraft has been defined, this change should be isolated to state.h, i.e., the implementation, unless the json format changes substantially

/\ Range(logline.msg.state.committable_indices) \subseteq CommittableIndices(logline.msg.state.node_id)