Skip to content

Commit 8bcae27

Browse files
committed
fix: update LiquidityBridgeContractProxy initialization to use the current contract as ProxyAdmin owner
1 parent ae1273d commit 8bcae27

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/deployment/ChangeOwnerToTimelock.t.sol

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,11 @@ contract LegacyChangeOwnerToTimelockTest is Test {
6666
cfg.mainnet
6767
)
6868
);
69+
// OZ v5 TransparentUpgradeableProxy deploys its own ProxyAdmin and uses
70+
// this argument as the initial owner of that ProxyAdmin.
6971
proxy = new LiquidityBridgeContractProxy(
7072
address(lbcImpl),
71-
address(admin),
73+
address(this),
7274
initData
7375
);
7476
}

0 commit comments

Comments
 (0)