From 2a16f518318fc3ca5cae5ad2d089cad9b6b9b15d Mon Sep 17 00:00:00 2001 From: Eric Lau Date: Thu, 2 Jan 2025 16:57:18 -0500 Subject: [PATCH] Update Foundry docs for URL changes (#1110) --- docs/modules/ROOT/pages/foundry/pages/foundry-upgrades.adoc | 4 ++-- submodules/openzeppelin-foundry-upgrades | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/modules/ROOT/pages/foundry/pages/foundry-upgrades.adoc b/docs/modules/ROOT/pages/foundry/pages/foundry-upgrades.adoc index 70c68f5d2..4df505565 100644 --- a/docs/modules/ROOT/pages/foundry/pages/foundry-upgrades.adoc +++ b/docs/modules/ROOT/pages/foundry/pages/foundry-upgrades.adoc @@ -83,7 +83,7 @@ This library requires https://github.com/foundry-rs/forge-std[forge-std] version == Before Running -This library uses the https://docs.openzeppelin.com/upgrades-plugins/1.x/api-core[OpenZeppelin Upgrades CLI] for upgrade safety validations, which are run by default during deployments and upgrades. +This library uses the https://docs.openzeppelin.com/upgrades-plugins/api-core[OpenZeppelin Upgrades CLI] for upgrade safety validations, which are run by default during deployments and upgrades. If you want to be able to run upgrade safety validations, the following are needed: @@ -101,7 +101,7 @@ extra_output = ["storageLayout"] ---- [start=3] -3. If you are upgrading your contract from a previous version, add the `@custom:oz-upgrades-from ` annotation to the new version of your contract according to https://docs.openzeppelin.com/upgrades-plugins/1.x/api-core#define-reference-contracts[Define Reference Contracts] or specify the `referenceContract` option when calling the library's functions. +3. If you are upgrading your contract from a previous version, add the `@custom:oz-upgrades-from ` annotation to the new version of your contract according to https://docs.openzeppelin.com/upgrades-plugins/api-core#define-reference-contracts[Define Reference Contracts] or specify the `referenceContract` option when calling the library's functions. 4. Run `forge clean` before running your Foundry script or tests, or include the `--force` option when running `forge script` or `forge test`. diff --git a/submodules/openzeppelin-foundry-upgrades b/submodules/openzeppelin-foundry-upgrades index 6461ba385..3a4bd0d10 160000 --- a/submodules/openzeppelin-foundry-upgrades +++ b/submodules/openzeppelin-foundry-upgrades @@ -1 +1 @@ -Subproject commit 6461ba3851dea1fa4381a0fb1477c669279cdd44 +Subproject commit 3a4bd0d10e945e82472b306776eb5ec272571945