Skip to content
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

Chore/migration npm deps to forge #382

Merged
merged 27 commits into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
4be5008
forge install: aave-v3-core
parth-15 Jan 22, 2024
07127cd
add foundry dependency
parth-15 Jan 23, 2024
9923a86
update config files
parth-15 Jan 24, 2024
497fd14
update deps from npm to forge - deployment working
parth-15 Jan 24, 2024
af5db83
update package.json
parth-15 Jan 26, 2024
90658c2
add openzeppelin deps
parth-15 Jan 26, 2024
3f0c5d9
add aave-v3-core deps
parth-15 Jan 26, 2024
58cc954
update deps
parth-15 Jan 29, 2024
c3114ca
fix: Remove unnecesary npm dependencies
miguelmtzinf Feb 15, 2024
55d6856
fix: Remove duplicated founry remappings
miguelmtzinf Feb 15, 2024
5fae4cb
fix: Fix imports for gho_gsm_inverse certora rule
miguelmtzinf Feb 16, 2024
550fc5b
fix: Fix certora config
miguelmtzinf Feb 16, 2024
f5a1bc4
fix: Fix certora config
miguelmtzinf Feb 16, 2024
248ca80
fix: Fix certora config
miguelmtzinf Feb 16, 2024
d0792ff
fix: Fix certora conifig
miguelmtzinf Feb 16, 2024
ec5bd09
fix: Fix test and config files
miguelmtzinf Feb 19, 2024
5e3e080
ci: Fix certora ci config files
miguelmtzinf Feb 19, 2024
d18114e
ci: Fix certora ci config files
miguelmtzinf Feb 19, 2024
3d432d1
fix: Use hardhat-founry instead of preprocessor
miguelmtzinf Feb 19, 2024
effd361
fix: Add combined coverage script
miguelmtzinf Feb 20, 2024
85877bf
fix: Fix package scripts and remove combined-coverage
miguelmtzinf Feb 20, 2024
be87176
fix: Fix node CI build
miguelmtzinf Feb 20, 2024
192cab1
fix: Fix build ci
miguelmtzinf Feb 20, 2024
1c53afc
fix: Fix prettierignore
miguelmtzinf Feb 20, 2024
448d53f
fix: Add env for fork tests
miguelmtzinf Feb 20, 2024
00a6cb7
Merge branch 'main' into chore/migration-npm-deps-to-forge
miguelmtzinf Feb 20, 2024
fbcee68
fix: Fix ci:clean script
miguelmtzinf Feb 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,18 @@
[submodule "lib/solidity-utils"]
path = lib/solidity-utils
url = https://github.com/bgd-labs/solidity-utils
[submodule "lib/aave-v3-core"]
path = lib/aave-v3-core
url = https://github.com/aave/aave-v3-core
[submodule "lib/aave-token"]
path = lib/aave-token
url = https://github.com/aave/aave-token
[submodule "lib/aave-v3-periphery"]
path = lib/aave-v3-periphery
url = https://github.com/aave/aave-v3-periphery
[submodule "lib/safety-module"]
path = lib/safety-module
url = https://github.com/aave/safety-module
[submodule "lib/openzeppelin-contracts"]
path = lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
10 changes: 5 additions & 5 deletions foundry.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[profile.default]
src = 'src/contracts'
script = 'src/script'
out = 'out'
out = 'artifacts'
test = 'src/test'
cache_path = 'forge-cache'
libs = ["node_modules", "lib"]
remappings = [
'@aave/=node_modules/@aave/',
'@aave/core-v3/=node_modules/@aave/core-v3',
'@aave/periphery-v3/=node_modules/@aave/periphery-v3',
'@openzeppelin/=node_modules/@openzeppelin/',
'@aave/=lib/aave-token/',
'@aave/core-v3/=lib/aave-v3-core/',
'@aave/periphery-v3/=lib/aave-v3-periphery/',
'@openzeppelin/=lib/openzeppelin-contracts/',
'aave-stk-v1-5/=lib/aave-stk-v1-5/',
'ds-test/=lib/forge-std/lib/ds-test/src/',
'eth-gas-reporter/=node_modules/eth-gas-reporter/',
Expand Down
3 changes: 2 additions & 1 deletion hardhat-remappings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ forge-std/=lib/forge-std/src/
aave-stk-v1-5/=lib/aave-stk-v1-5/
aave-address-book/=lib/aave-address-book/src/
aave-v3-core/=lib/aave-address-book/lib/aave-v3-core/
solidity-utils/=lib/solidity-utils/src/
solidity-utils/=lib/solidity-utils/src/
@openzeppelin/=lib/openzeppelin-contracts/
1 change: 1 addition & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ const hardhatConfig: HardhatUserConfig = {
'@aave/safety-module/contracts/stake/StakedAave.sol',
'@aave/safety-module/contracts/stake/StakedAaveV2.sol',
'@aave/safety-module/contracts/proposals/extend-stkaave-distribution/StakedTokenV2Rev3.sol',
'aave-stk-v1-5/src/contracts/StakedAaveV3.sol',
],
},
tracer: {
Expand Down
1 change: 1 addition & 0 deletions lib/aave-token
Submodule aave-token added at 5d0da8
1 change: 1 addition & 0 deletions lib/aave-v3-core
Submodule aave-v3-core added at a00f28
1 change: 1 addition & 0 deletions lib/aave-v3-periphery
Submodule aave-v3-periphery added at 222c1c
1 change: 1 addition & 0 deletions lib/openzeppelin-contracts
Submodule openzeppelin-contracts added at 045704
1 change: 1 addition & 0 deletions lib/safety-module
Submodule safety-module added at 3c8d5c
Loading
Loading