Skip to content

Commit

Permalink
add vault to accountant
Browse files Browse the repository at this point in the history
  • Loading branch information
aazhou1 committed Nov 22, 2024
1 parent 6c00f77 commit 94b945a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/VaultManagement.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ contract SetupVaultManagement is Script {
vault.set_role(deployer, 0);
}

function _configureAccountant(address vault) internal {
function _configureAccountant() internal {
// Load fee parameters
uint16 defaultPerformance = uint16(vm.envOr("DEFAULT_PERFORMANCE", uint256(0)));
uint16 defaultMaxFee = uint16(vm.envOr("DEFAULT_MAX_FEE", uint256(0)));
Expand All @@ -114,7 +114,7 @@ contract SetupVaultManagement is Script {
console.log("default max gain", defaultMaxGain);
console.log("default max loss", defaultMaxLoss);

accountant.addVault(vault);
accountant.addVault(address(vault));

accountant.setFutureFeeManager(vaultGovernanceFactory);
console.log("set future fee manager", vaultGovernanceFactory);
Expand Down

0 comments on commit 94b945a

Please sign in to comment.