Skip to content

Commit

Permalink
chore: support openzeppelin 06
Browse files Browse the repository at this point in the history
  • Loading branch information
leovct committed Sep 25, 2024
1 parent 55b137a commit 1d01508
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
[submodule "lib/openzeppelin-contracts-05"]
path = lib/openzeppelin-contracts-05
url = https://github.com/OpenZeppelin/openzeppelin-contracts
[submodule "lib/openzeppelin-contracts-06"]
path = lib/openzeppelin-contracts-06
url = https://github.com/OpenZeppelin/openzeppelin-contracts
[submodule "lib/openzeppelin-contracts-08"]
path = lib/openzeppelin-contracts-08
url = https://github.com/OpenZeppelin/openzeppelin-contracts
5 changes: 3 additions & 2 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ remappings = [
'@forge-std/=lib/forge-std/src/',
'@foundry-huff/=lib/foundry-huff/src',
# https://www.npmjs.com/package/@openzeppelin/contracts?activeTab=versions
'@openzeppelin-05/=lib/openzeppelin-contracts-05/contracts',
'@openzeppelin-08/=lib/openzeppelin-contracts-08/contracts',
'@openzeppelin-05/=lib/openzeppelin-contracts-05/contracts', # v2.5.1
'@openzeppelin-06/=lib/openzeppelin-contracts-06/contracts', # v3.4.2
'@openzeppelin-08/=lib/openzeppelin-contracts-08/contracts', # v5.0.2
]
ffi = true

Expand Down

0 comments on commit 1d01508

Please sign in to comment.