Closed andrewgordstewart closed 3 years ago
This takes advantage of the fact that the step indices are a function of:
Rather than supplying the step indices and validating them, the contract implicitly assumes. The off-chain logic should be updated accordingly:
this.commitments[i]
this.low + Math.floor(i / (this.high - this.low))
The math might be a little wrong...
This takes advantage of the fact that the step indices are a function of:
Rather than supplying the step indices and validating them, the contract implicitly assumes. The off-chain logic should be updated accordingly:
this.commitments[i]
should be interpreted as the root of thethis.low + Math.floor(i / (this.high - this.low))
-th machine stateThe math might be a little wrong...