Skip to content

Commit e819790

Browse files
committed
fix: minor fixes
1 parent 65b055c commit e819790

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

contracts/test/ForkTest.sol

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,10 @@ abstract contract ForkTest is Test {
4343

4444
addressProvider = IAddressProvider(vm.envAddress("FORK_ADDRESS_PROVIDER"));
4545

46-
acl = new ACL(address(this));
4746
aclLegacy = IACLLegacy(addressProvider.getAddressOrRevert(AP_ACL, NO_VERSION_CONTROL));
4847
register = IContractsRegister(addressProvider.getAddressOrRevert(AP_CONTRACTS_REGISTER, NO_VERSION_CONTROL));
4948
configurator = Ownable(address(aclLegacy)).owner();
50-
acl.transferOwnership(configurator);
51-
vm.prank(configurator);
52-
acl.acceptOwnership();
49+
acl = new ACL(configurator);
5350
}
5451

5552
function _grantRole(bytes32 role, address account) internal {

script/LegacyHelper.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ contract LegacyHelper {
104104
}
105105

106106
function _getCurators() internal pure returns (CuratorInfo[] memory curators) {
107-
CuratorInfo[4] memory curators_ = [
107+
CuratorInfo[5] memory curators_ = [
108108
CuratorInfo({
109109
chainId: 1,
110110
chainName: "Ethereum",

0 commit comments

Comments
 (0)