Skip to content

Commit

Permalink
Revert "Use child1 for the "no" fork and child2 for the "yes" fork to…
Browse files Browse the repository at this point in the history
… match what we did in L1GlobalChainInfoPublisher"

This reverts commit 532759b.
  • Loading branch information
edmundedgar committed Mar 2, 2024
1 parent 532759b commit 33213bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions contracts/L1ForkArbitrator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,15 @@ contract L1ForkArbitrator is IArbitratorCore, IArbitratorErrors {
if (child1 == address(0) || child2 == address(0)) revert NotForkedYet();
IRealityETH(child1).assignWinnerAndSubmitAnswerByArbitrator(
arbitratingQuestionId,
bytes32(uint256(0)),
bytes32(uint256(1)),
payer,
lastHistoryHash,
lastAnswer,
lastAnswerer
);
IRealityETH(child2).assignWinnerAndSubmitAnswerByArbitrator(
arbitratingQuestionId,
bytes32(uint256(1)),
bytes32(uint256(0)),
payer,
lastHistoryHash,
lastAnswer,
Expand Down
4 changes: 2 additions & 2 deletions test/ForkableRealityETH.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1405,13 +1405,13 @@ contract ForkableRealityETHTest is Test {
ForkableRealityETH_ERC20(forkableRealityETH2a).resultFor(
forkOverQuestionId
),
bytes32(uint256(0))
bytes32(uint256(1))
);
assertEq(
ForkableRealityETH_ERC20(forkableRealityETH2b).resultFor(
forkOverQuestionId
),
bytes32(uint256(1))
bytes32(uint256(0))
);
}
}

0 comments on commit 33213bb

Please sign in to comment.