Skip to content

Commit 59f8ab2

Browse files
Use upgradeable version of access control on the agg mode payment service contract
1 parent f6d4155 commit 59f8ab2

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

contracts/scripts/anvil/state/alignedlayer-deployed-anvil-state.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

contracts/src/core/AggregationModePaymentService.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ pragma solidity ^0.8.12;
33

44
import {Initializable} from "@openzeppelin-upgrades/contracts/proxy/utils/Initializable.sol";
55
import {UUPSUpgradeable} from "@openzeppelin-upgrades/contracts/proxy/utils/UUPSUpgradeable.sol";
6-
import {AccessControl} from "@openzeppelin/contracts/access/AccessControl.sol";
6+
import {AccessControlUpgradeable} from "@openzeppelin-upgrades/contracts/access/AccessControlUpgradeable.sol";
77

88
/**
99
* @title AggregationModePaymentService
1010
* @author Aligned Layer
1111
* @notice Handles deposits that grant time-limited access to aggregation services.
1212
*/
13-
contract AggregationModePaymentService is Initializable, UUPSUpgradeable, AccessControl {
13+
contract AggregationModePaymentService is Initializable, UUPSUpgradeable, AccessControlUpgradeable {
1414

1515
bytes32 public constant OWNER_ROLE = keccak256("OWNER_ROLE");
1616
bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");

0 commit comments

Comments
 (0)