From 563d0154d24422ac3451868422b50ce0533696e2 Mon Sep 17 00:00:00 2001 From: Jonas Bostoen Date: Thu, 17 Oct 2024 13:56:17 +0200 Subject: [PATCH] docs(contracts): deployment guide --- bolt-contracts/docs/upgrading.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bolt-contracts/docs/upgrading.md b/bolt-contracts/docs/upgrading.md index 2eae7f20..4f7889fb 100644 --- a/bolt-contracts/docs/upgrading.md +++ b/bolt-contracts/docs/upgrading.md @@ -6,7 +6,7 @@ For example, when upgrading `BoltManagerV1`, copy it into a new file called `Bol This is needed to reference check the new contracts with the old contracts so that the OpenZeppelin Upgrades library can validate the safety of the upgrade. You MUST add this reference when upgrading a contract: -```sol +```solidity Options memory opts; opts.referenceContract = "BoltManagerV1.sol"; Upgrades.upgradeProxy(proxy, "BoltManagerV2.sol", "", opts);