From 1ebbb639f589663dcaab64b2b88bfaf53164a03d Mon Sep 17 00:00:00 2001 From: Gas One Cent <86567384+gas1cent@users.noreply.github.com> Date: Sat, 11 Nov 2023 15:44:44 +0400 Subject: [PATCH] fix: onlyOracle modifier --- .../contracts/modules/request/ContractCallRequestModule.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solidity/contracts/modules/request/ContractCallRequestModule.sol b/solidity/contracts/modules/request/ContractCallRequestModule.sol index 578e552a..311487ec 100644 --- a/solidity/contracts/modules/request/ContractCallRequestModule.sol +++ b/solidity/contracts/modules/request/ContractCallRequestModule.sol @@ -21,7 +21,7 @@ contract ContractCallRequestModule is Module, IContractCallRequestModule { } /// @inheritdoc IContractCallRequestModule - function createRequest(bytes32 _requestId, bytes calldata _data, address _requester) external { + function createRequest(bytes32 _requestId, bytes calldata _data, address _requester) external onlyOracle { RequestParameters memory _params = decodeRequestData(_data); _params.accountingExtension.bond({