Commit 01254782 authored by clabby's avatar clabby

chore: lint

parent 63751ef8
...@@ -154,7 +154,10 @@ contract FaultDisputeGame is IFaultDisputeGame, Clone { ...@@ -154,7 +154,10 @@ contract FaultDisputeGame is IFaultDisputeGame, Clone {
} }
// Assert that the given prestate commits to the instruction at `gindex - 1`. // Assert that the given prestate commits to the instruction at `gindex - 1`.
if (Position.unwrap(preStatePos.rightIndex(MAX_GAME_DEPTH)) != Position.unwrap(stepPos) - 1) { if (
Position.unwrap(preStatePos.rightIndex(MAX_GAME_DEPTH)) !=
Position.unwrap(stepPos) - 1
) {
revert InvalidPrestate(); revert InvalidPrestate();
} }
} }
......
...@@ -337,7 +337,7 @@ contract FaultDisputeGame_Test is DisputeGameFactory_Init { ...@@ -337,7 +337,7 @@ contract FaultDisputeGame_Test is DisputeGameFactory_Init {
// to the absolute prestate. // to the absolute prestate.
gameProxy.step(0, 62, true, hex"", hex""); gameProxy.step(0, 62, true, hex"", hex"");
(,bool countered,,,) = gameProxy.claimData(62); (, bool countered, , , ) = gameProxy.claimData(62);
assertTrue(countered); assertTrue(countered);
GameStatus status = gameProxy.resolve(); GameStatus status = gameProxy.resolve();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment