-
Notifications
You must be signed in to change notification settings - Fork 35
feat: deployment engine #1047
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: deployment engine #1047
Changes from 4 commits
8bafe86
d95101b
00ba92a
9f6c70d
4a51e33
cecd4f3
460c2e0
2aaeb00
4581387
b94ed13
3ba9fad
e455afb
00433e9
945619f
8680dd6
21033d1
5304e6c
9545217
4d36444
a951c30
384aeef
ac1dc8a
1fd5830
dd459c1
11be630
7b16818
8f7d6f7
63c93f9
e38a93c
563f04f
a455a57
e3642d3
b06da1a
05c0dc0
d5affff
265a3a7
8d4cef0
beea923
31509cf
ac59e59
a224fe8
17db1f2
c49467f
65b44c9
25a3ae4
e597f1c
6c5c0b5
70e4501
8f14c51
e7f4ea5
f6787b9
27260d0
8c26cf3
0ad7618
198fc50
5b13830
4358d33
b3cf5e5
92eab04
d851888
5492653
90f133f
b8acf9c
7a82a0b
dfe4808
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why are they changing? foundry version?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no foundry version update. was trying to dig into this but couldnt id exactly why, base set up was just refactored. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,7 +11,6 @@ contract AaveV4AccessBatch is AaveV4AccessManagerEnumerableDeployProcedure { | |
| BatchReports.AccessBatchReport internal _report; | ||
|
|
||
| constructor(address admin_) { | ||
|
||
| assert(admin_ != address(0)); | ||
| address accessManager = _deployAccessManagerEnumerable(admin_); | ||
| _report = BatchReports.AccessBatchReport({accessManager: accessManager}); | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| // SPDX-License-Identifier: UNLICENSED | ||
| // Copyright (c) 2025 Aave Labs | ||
| pragma solidity ^0.8.0; | ||
|
|
||
| contract AaveV4DeployProcedureBase { | ||
| error InvalidParam(string errorMessage); | ||
| function _validateZeroAddress(address addr, string memory errorMessage) internal pure { | ||
| require(addr != address(0), InvalidParam(errorMessage)); | ||
| } | ||
| } |
yan-man marked this conversation as resolved.
Show resolved
Hide resolved
|
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's define a memory variable here for this, for better maintainability (don't dup strings)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see latest