Skip to content

Commit

Permalink
fix: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra committed Jan 27, 2025
1 parent bf4cf6f commit 0aed7c2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ test = 'tests'
script = 'scripts'
optimizer = true
optimizer_runs = 200
solc = '0.8.21'
solc = '0.8.22'
evm_version = 'shanghai'
bytecode_hash = 'none'
ignored_warnings_from = ["src/periphery/contracts/treasury/RevenueSplitter.sol"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ contract AaveV3TreasuryProcedure {

function _deployAaveV3Treasury(
address poolAdmin,
address deployedProxyAdmin,
bytes32 collectorSalt
) internal returns (TreasuryReport memory) {
TreasuryReport memory treasuryReport;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@ contract AaveV3PeripheryBatch is
_report.aaveOracle = _deployAaveOracle(config.oracleDecimals, poolAddressesProvider);

if (config.treasury == address(0)) {
TreasuryReport memory treasuryReport = _deployAaveV3Treasury(
poolAdmin,
_report.proxyAdmin,
config.salt
);
TreasuryReport memory treasuryReport = _deployAaveV3Treasury(poolAdmin, config.salt);

_report.treasury = treasuryReport.treasury;
_report.treasuryImplementation = treasuryReport.treasuryImplementation;
Expand Down

0 comments on commit 0aed7c2

Please sign in to comment.