Skip to content

Commit

Permalink
fix: access module finalize
Browse files Browse the repository at this point in the history
  • Loading branch information
ashitakah committed Nov 6, 2024
1 parent 2fc32d4 commit 69efe2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions solidity/contracts/Oracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {IOracle} from '../interfaces/IOracle.sol';

import {IDisputeModule} from '../interfaces/modules/dispute/IDisputeModule.sol';

import {IAccessControlModule} from '../interfaces/modules/accessControl/IAccessControlModule.sol';
import {IFinalityModule} from '../interfaces/modules/finality/IFinalityModule.sol';
import {IRequestModule} from '../interfaces/modules/request/IRequestModule.sol';
import {IResolutionModule} from '../interfaces/modules/resolution/IResolutionModule.sol';
Expand Down Expand Up @@ -377,6 +378,7 @@ contract Oracle is IOracle, AccessController, OracleTypehash {
IDisputeModule(_request.disputeModule).finalizeRequest(_request, _response, _accessControl.user);
IResponseModule(_request.responseModule).finalizeRequest(_request, _response, _accessControl.user);
IRequestModule(_request.requestModule).finalizeRequest(_request, _response, _accessControl.user);
IAccessControlModule(_request.accessControlModule).finalizeRequest(_request, _response, _accessControl.user);

emit OracleRequestFinalized(_requestId, _responseId);
}
Expand Down

0 comments on commit 69efe2b

Please sign in to comment.