Skip to content

Commit

Permalink
fix actors for src/PooledDepositsVault.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
danoctavian committed Apr 16, 2024
1 parent 0f0621e commit 3e4b414
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion script/Actors.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ contract ActorAddresses {
address VALIDATOR_MANAGER;
address LSD_RESTAKING_MANAGER;
address STAKING_NODE_CREATOR;
address POOLED_DEPOSITS_OWNER;
}

struct Actors {
Expand Down Expand Up @@ -52,7 +53,8 @@ contract ActorAddresses {
STAKING_NODES_OPERATOR: 0x9Dd8F69b62ddFd990241530F47dcEd0Dad7f7d39,
VALIDATOR_MANAGER: 0x9Dd8F69b62ddFd990241530F47dcEd0Dad7f7d39,
LSD_RESTAKING_MANAGER: 0x9Dd8F69b62ddFd990241530F47dcEd0Dad7f7d39,
STAKING_NODE_CREATOR: 0x9Dd8F69b62ddFd990241530F47dcEd0Dad7f7d39
STAKING_NODE_CREATOR: 0x9Dd8F69b62ddFd990241530F47dcEd0Dad7f7d39,
POOLED_DEPOSITS_OWNER: 0x9Dd8F69b62ddFd990241530F47dcEd0Dad7f7d39
})
});

Expand Down
2 changes: 1 addition & 1 deletion script/DeployPooledDepositsVaults.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ contract Upgrade is BaseScript {
PooledDepositsVault pooledDepositsVaultImplementation = new PooledDepositsVault(); // Renamed from PooledDeposits to PooledDepositsVault
for (uint i = 0; i < vaultCount; i++) {
bytes memory initData = abi.encodeWithSelector(PooledDepositsVault.initialize.selector, actors.ops.POOLED_DEPOSITS_OWNER); // Renamed from PooledDeposits to PooledDepositsVault
TransparentUpgradeableProxy pooledDepositsVaultProxy = new TransparentUpgradeableProxy(address(pooledDepositsVaultImplementation), actors.PROXY_ADMIN_OWNER, initData);
TransparentUpgradeableProxy pooledDepositsVaultProxy = new TransparentUpgradeableProxy(address(pooledDepositsVaultImplementation), actors.admin.PROXY_ADMIN_OWNER, initData);
PooledDepositsVault pooledDepositsVault = PooledDepositsVault(payable(address(pooledDepositsVaultProxy))); // Renamed from PooledDeposits to PooledDepositsVault
pooledDepositsVaults[i] = pooledDepositsVault;
}
Expand Down
4 changes: 2 additions & 2 deletions src/PooledDepositsVault.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import "./interfaces/IynETH.sol";

import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol";
import "lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol";

contract PooledDepositsVault is Initializable, OwnableUpgradeable {

Expand Down

0 comments on commit 3e4b414

Please sign in to comment.