From 42c1742c8b82ffc686012b95c9d673585a67475a Mon Sep 17 00:00:00 2001 From: leovct Date: Wed, 25 Sep 2024 13:42:46 +0200 Subject: [PATCH] chore: support oz-contracts 07 --- .gitmodules | 3 +++ foundry.toml | 1 + lib/openzeppelin-contracts-07 | 1 + 3 files changed, 5 insertions(+) create mode 160000 lib/openzeppelin-contracts-07 diff --git a/.gitmodules b/.gitmodules index 6e12988..03f240a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,6 +10,9 @@ [submodule "lib/openzeppelin-contracts-06"] path = lib/openzeppelin-contracts-06 url = https://github.com/OpenZeppelin/openzeppelin-contracts +[submodule "lib/openzeppelin-contracts-07"] + path = lib/openzeppelin-contracts-07 + url = https://github.com/OpenZeppelin/openzeppelin-contracts [submodule "lib/openzeppelin-contracts-08"] path = lib/openzeppelin-contracts-08 url = https://github.com/OpenZeppelin/openzeppelin-contracts diff --git a/foundry.toml b/foundry.toml index fa40776..32c39c3 100644 --- a/foundry.toml +++ b/foundry.toml @@ -8,6 +8,7 @@ remappings = [ # https://www.npmjs.com/package/@openzeppelin/contracts?activeTab=versions '@openzeppelin-05/=lib/openzeppelin-contracts-05/contracts', # v2.5.1 '@openzeppelin-06/=lib/openzeppelin-contracts-06/contracts', # v3.4.2 + '@openzeppelin-07/=lib/openzeppelin-contracts-07/contracts', # v4.9.6 '@openzeppelin-08/=lib/openzeppelin-contracts-08/contracts', # v5.0.2 ] ffi = true diff --git a/lib/openzeppelin-contracts-07 b/lib/openzeppelin-contracts-07 new file mode 160000 index 0000000..dc44c9f --- /dev/null +++ b/lib/openzeppelin-contracts-07 @@ -0,0 +1 @@ +Subproject commit dc44c9f1a4c3b10af99492eed84f83ed244203f6