Skip to content

Commit 5815bb1

Browse files
committed
fix: use local copy
1 parent 0aed7c2 commit 5815bb1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/deployments/projects/aave-v3-batched/AaveV3BatchOrchestration.sol

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ library AaveV3BatchOrchestration {
8888

8989
AaveV3TokensBatch.TokensReport memory tokensReport = _deployTokens(setupReport.poolProxy);
9090

91+
// to avoid issues when running without --via-ir we copy the variable
92+
address pa = roles.poolAdmin;
9193
ConfigEngineReport memory configEngineReport = _deployHelpersBatch1(
9294
setupReport,
9395
miscReport,
@@ -98,7 +100,7 @@ library AaveV3BatchOrchestration {
98100
StaticATokenReport memory staticATokenReport = _deployHelpersBatch2(
99101
setupReport.poolProxy,
100102
setupReport.rewardsControllerProxy,
101-
roles.poolAdmin
103+
pa
102104
);
103105

104106
// Save final report at AaveV3SetupBatch contract

0 commit comments

Comments
 (0)