Skip to content

Commit

Permalink
feat: releaseUnutilizedResponse does not require access control
Browse files Browse the repository at this point in the history
  • Loading branch information
xorsal committed Oct 24, 2024
1 parent b3731d3 commit 5796f29
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions solidity/contracts/modules/response/BondedResponseModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,7 @@ contract BondedResponseModule is AccessControllerModule, IBondedResponseModule {
}

/// @inheritdoc IBondedResponseModule
function releaseUnutilizedResponse(
IOracle.Request calldata _request,
IOracle.Response calldata _response,
AccessControl calldata _accessControl
)
external
hasAccess(
_request.accessControlModule,
_RELEASE_UNUTILIZED_RESPONSE_TYPEHASH,
abi.encode(_request, _response),
_accessControl
)
{
function releaseUnutilizedResponse(IOracle.Request calldata _request, IOracle.Response calldata _response) external {
bytes32 _responseId = _validateResponse(_request, _response);
bytes32 _disputeId = ORACLE.disputeOf(_responseId);

Expand Down

0 comments on commit 5796f29

Please sign in to comment.