diff --git a/solidity/contracts/modules/resolution/BondEscalationResolutionModule.sol b/solidity/contracts/modules/resolution/BondEscalationResolutionModule.sol index 86ee33c..661a0c6 100644 --- a/solidity/contracts/modules/resolution/BondEscalationResolutionModule.sol +++ b/solidity/contracts/modules/resolution/BondEscalationResolutionModule.sol @@ -270,8 +270,6 @@ contract BondEscalationResolutionModule is AccessControllerModule, IBondEscalati InequalityData storage _inequalityData = inequalityData[_disputeId]; RequestParameters memory _params = decodeRequestData(_request.resolutionModuleData); - // uint256 _pledgingDeadline = _escalation.startTime + _params.timeUntilDeadline; - if (block.timestamp >= _escalation.startTime + _params.timeUntilDeadline) { revert BondEscalationResolutionModule_PledgingPhaseOver(); } diff --git a/solidity/test/integration/Arbitration.t.sol b/solidity/test/integration/Arbitration.t.sol index 530d66b..fc48ba9 100644 --- a/solidity/test/integration/Arbitration.t.sol +++ b/solidity/test/integration/Arbitration.t.sol @@ -132,20 +132,20 @@ contract Integration_Arbitration is IntegrationBase { vm.prank(disputer); oracle.escalateDispute(mockRequest, mockResponse, mockDispute, _createAccessControl(disputer)); - // // Check: is the dispute status resolved after calling escalate? - // assertEq(uint256(_arbitratorModule.getStatus(_disputeId)), uint256(IArbitratorModule.ArbitrationStatus.Resolved)); + // Check: is the dispute status resolved after calling escalate? + assertEq(uint256(_arbitratorModule.getStatus(_disputeId)), uint256(IArbitratorModule.ArbitrationStatus.Resolved)); - // IOracle.DisputeStatus _disputeStatus = oracle.disputeStatus(_disputeId); - // // Check: is the dispute updated as lost? - // assertEq(uint256(_disputeStatus), uint256(IOracle.DisputeStatus.Lost)); + IOracle.DisputeStatus _disputeStatus = oracle.disputeStatus(_disputeId); + // Check: is the dispute updated as lost? + assertEq(uint256(_disputeStatus), uint256(IOracle.DisputeStatus.Lost)); - // // Check: does the disputer receive the disputer's bond? - // uint256 _proposerBalance = _accountingExtension.balanceOf(proposer, usdc); - // assertEq(_proposerBalance, _expectedBondSize * 2); + // Check: does the disputer receive the disputer's bond? + uint256 _proposerBalance = _accountingExtension.balanceOf(proposer, usdc); + assertEq(_proposerBalance, _expectedBondSize * 2); - // // Check: does the disputer get its bond slashed? - // uint256 _disputerBondedAmount = _accountingExtension.bondedAmountOf(disputer, usdc, _getId(mockRequest)); - // assertEq(_disputerBondedAmount, 0); + // Check: does the disputer get its bond slashed? + uint256 _disputerBondedAmount = _accountingExtension.bondedAmountOf(disputer, usdc, _getId(mockRequest)); + assertEq(_disputerBondedAmount, 0); } function _setArbitrator(address _arbitrator) internal {