Skip to content

Commit ec3cd79

Browse files
committed
chore: sortition module lookahead state var removal
1 parent 586006d commit ec3cd79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/src/arbitration/SortitionModuleBase.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ abstract contract SortitionModuleBase is ISortitionModule {
6666
uint256 public disputesWithoutJurors; // The number of disputes that have not finished drawing jurors.
6767
IRNG public rng; // The random number generator.
6868
uint256 public randomNumber; // Random number returned by RNG.
69-
uint256 public rngLookahead; // DEPRECATED
69+
// uint256 public rngLookahead; // Deprecated - WARNING: it breaks the storage layout of the contract, beta cannot be upgraded!
7070
uint256 public delayedStakeWriteIndex; // The index of the last `delayedStake` item that was written to the array. 0 index is skipped.
7171
uint256 public delayedStakeReadIndex; // The index of the next `delayedStake` item that should be processed. Starts at 1 because 0 index is skipped.
7272
mapping(bytes32 treeHash => SortitionSumTree) sortitionSumTrees; // The mapping trees by keys.

0 commit comments

Comments
 (0)