Skip to content

Commit 79a458c

Browse files
fix(SM): storage update
1 parent 5dc39fa commit 79a458c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

contracts/src/arbitration/SortitionModule.sol

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ contract SortitionModule is ISortitionModule, Initializable, UUPSProxiable {
2727
address account; // The address of the juror.
2828
uint96 courtID; // The ID of the court.
2929
uint256 stake; // The new stake.
30-
bool alreadyTransferred; // DEPRECATED. True if tokens were already transferred before delayed stake's execution.
3130
}
3231

3332
struct Juror {
@@ -46,17 +45,14 @@ contract SortitionModule is ISortitionModule, Initializable, UUPSProxiable {
4645
uint256 public minStakingTime; // The time after which the phase can be switched to Drawing if there are open disputes.
4746
uint256 public maxDrawingTime; // The time after which the phase can be switched back to Staking.
4847
uint256 public lastPhaseChange; // The last time the phase was changed.
49-
uint256 public randomNumberRequestBlock; // DEPRECATED: to be removed in the next redeploy
5048
uint256 public disputesWithoutJurors; // The number of disputes that have not finished drawing jurors.
5149
IRNG public rng; // The random number generator.
5250
uint256 public randomNumber; // Random number returned by RNG.
53-
uint256 public rngLookahead; // DEPRECATED: to be removed in the next redeploy
5451
uint256 public delayedStakeWriteIndex; // The index of the last `delayedStake` item that was written to the array. 0 index is skipped.
5552
uint256 public delayedStakeReadIndex; // The index of the next `delayedStake` item that should be processed. Starts at 1 because 0 index is skipped.
5653
mapping(TreeKey key => SortitionTrees.Tree) sortitionSumTrees; // The mapping of sortition trees by keys.
5754
mapping(address account => Juror) public jurors; // The jurors.
5855
mapping(uint256 => DelayedStake) public delayedStakes; // Stores the stakes that were changed during Drawing phase, to update them when the phase is switched to Staking.
59-
mapping(address jurorAccount => mapping(uint96 courtId => uint256)) public latestDelayedStakeIndex; // DEPRECATED. Maps the juror to its latest delayed stake. If there is already a delayed stake for this juror then it'll be replaced. latestDelayedStakeIndex[juror][courtID].
6056
uint256 public maxStakePerJuror;
6157
uint256 public maxTotalStaked;
6258
uint256 public totalStaked;

0 commit comments

Comments
 (0)