Commit 93c1f62e authored by clabby's avatar clabby

chore: lint

parent d8e4fca4
...@@ -771,7 +771,11 @@ contract FaultDisputeGame_ResolvesCorrectly_IncorrectRootFuzz is OneVsOne_Arena ...@@ -771,7 +771,11 @@ contract FaultDisputeGame_ResolvesCorrectly_IncorrectRootFuzz is OneVsOne_Arena
uint256 snapshot = vm.snapshot(); uint256 snapshot = vm.snapshot();
GamePlayer honest = new HonestPlayer(ABSOLUTE_PRESTATE); GamePlayer honest = new HonestPlayer(ABSOLUTE_PRESTATE);
GamePlayer dishonest = new VariableDivergentPlayer(ABSOLUTE_PRESTATE, _dishonestTraceLength, i); GamePlayer dishonest = new VariableDivergentPlayer(
ABSOLUTE_PRESTATE,
_dishonestTraceLength,
i
);
super.init(dishonest, honest, _dishonestTraceLength - 1); super.init(dishonest, honest, _dishonestTraceLength - 1);
// Play the game until a step is forced. // Play the game until a step is forced.
...@@ -798,7 +802,11 @@ contract FaultDisputeGame_ResolvesCorrectly_CorrectRootFuzz is OneVsOne_Arena { ...@@ -798,7 +802,11 @@ contract FaultDisputeGame_ResolvesCorrectly_CorrectRootFuzz is OneVsOne_Arena {
uint256 snapshot = vm.snapshot(); uint256 snapshot = vm.snapshot();
GamePlayer honest = new HonestPlayer(ABSOLUTE_PRESTATE); GamePlayer honest = new HonestPlayer(ABSOLUTE_PRESTATE);
GamePlayer dishonest = new VariableDivergentPlayer(ABSOLUTE_PRESTATE, _dishonestTraceLength, i); GamePlayer dishonest = new VariableDivergentPlayer(
ABSOLUTE_PRESTATE,
_dishonestTraceLength,
i
);
super.init(honest, dishonest, 15); super.init(honest, dishonest, 15);
// Play the game until a step is forced. // Play the game until a step is forced.
...@@ -855,7 +863,11 @@ contract HonestPlayer_QuarterTrace is GamePlayer { ...@@ -855,7 +863,11 @@ contract HonestPlayer_QuarterTrace is GamePlayer {
} }
contract VariableDivergentPlayer is GamePlayer { contract VariableDivergentPlayer is GamePlayer {
constructor(bytes memory _absolutePrestate, uint256 _traceLength, uint256 _divergeAt) { constructor(
bytes memory _absolutePrestate,
uint256 _traceLength,
uint256 _divergeAt
) {
uint8 absolutePrestate = uint8(_absolutePrestate[31]); uint8 absolutePrestate = uint8(_absolutePrestate[31]);
bytes memory _trace = new bytes(_traceLength); bytes memory _trace = new bytes(_traceLength);
for (uint8 i = 0; i < _trace.length; i++) { for (uint8 i = 0; i < _trace.length; i++) {
......
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