diff --git a/contracts/src/arbitration/dispute-kits/DisputeKitClassic.sol b/contracts/src/arbitration/dispute-kits/DisputeKitClassic.sol index d8b6f837b..15847e139 100644 --- a/contracts/src/arbitration/dispute-kits/DisputeKitClassic.sol +++ b/contracts/src/arbitration/dispute-kits/DisputeKitClassic.sol @@ -21,6 +21,8 @@ import "../../rng/RNG.sol"; * - a vote aggreation system: plurality, * - an incentive system: equal split between coherent votes, * - an appeal system: fund 2 choices only, vote on any choice. + * TODO: + * - phase management: Generating->Drawing->Resolving->Generating in coordination with KlerosCore to freeze staking. */ contract DisputeKitClassic is DisputeKit { // ************************************* // @@ -151,6 +153,14 @@ contract DisputeKitClassic is DisputeKit { core = KlerosCore(_core); } + /** @dev Changes the `_rng` storage variable. + * @param _rng The new value for the `RNGenerator` storage variable. + */ + function changeRandomNumberGenerator(RNG _rng) external onlyByGovernor { + rng = _rng; + // TODO: if current phase is generating, call rng.requestRN() for the next block + } + // ************************************* // // * State Modifiers * // // ************************************* //