From 7bfeefb19b666728ece4df4a172fd34f582127eb Mon Sep 17 00:00:00 2001 From: Valentin Chaboche Date: Mon, 30 May 2022 16:13:17 +0200 Subject: [PATCH] Scoru,Proto: refutation storage is already carbonated The calls to the storage are already carbonated. This module is only wrapping these calls. --- src/proto_alpha/lib_protocol/sc_rollup_refutation_storage.ml | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/proto_alpha/lib_protocol/sc_rollup_refutation_storage.ml b/src/proto_alpha/lib_protocol/sc_rollup_refutation_storage.ml index 18a002c842fb..0cd38e45b8ad 100644 --- a/src/proto_alpha/lib_protocol/sc_rollup_refutation_storage.ml +++ b/src/proto_alpha/lib_protocol/sc_rollup_refutation_storage.ml @@ -208,7 +208,6 @@ let get_or_init_game ctxt rollup ~refuter ~defender = let* ctxt, _ = Store.Opponent.init (ctxt, rollup) defender refuter in return (game, ctxt) -(* TODO: #2926 this requires carbonation *) let update_game ctxt rollup ~player ~opponent refutation = let open Lwt_tzresult_syntax in let alice, bob = Sc_rollup_game_repr.Index.normalize (player, opponent) in @@ -236,7 +235,6 @@ let update_game ctxt rollup ~player ~opponent refutation = in return (None, ctxt) -(* TODO: #2926 this requires carbonation *) let timeout ctxt rollup stakers = let open Lwt_tzresult_syntax in let level = (Raw_context.current_level ctxt).level in @@ -255,7 +253,6 @@ let timeout ctxt rollup stakers = in return (Sc_rollup_game_repr.{loser = game.turn; reason = Timeout}, ctxt) -(* TODO: #2926 this requires carbonation *) let apply_outcome ctxt rollup stakers (outcome : Sc_rollup_game_repr.outcome) = let open Lwt_tzresult_syntax in let alice, bob = Sc_rollup_game_repr.Index.normalize stakers in -- GitLab