Skip to content

Commit 569349e

Browse files
zoeyTMkanej
andauthored
Update docs/src/content/ignition/docs/guides/upgradeable-proxies.md
Co-authored-by: John Kane <[email protected]>
1 parent 6ce4a14 commit 569349e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/content/ignition/docs/guides/upgradeable-proxies.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ First, we're getting our account that will own the ProxyAdmin contract. This acc
142142

143143
Next, we deploy our `Demo` contract. This will be the contract that we'll upgrade.
144144

145-
Then, we deploy our `TransparentUpgradeableProxy` contract. This contract will be deployed with the `Demo` contract as its implementation, and the `proxyAdminOwner` account as its owner. The third argument is the initialization code, which we'll leave blank for now by setting to an empty hex string (`"0x"`).
145+
Then we deploy our `TransparentUpgradeableProxy` contract. This contract will be deployed with the `Demo` contract as its implementation, and the `proxyAdminOwner` account as its owner. The third argument is the initialization code, which we'll leave blank for now by setting to an empty hex string (`"0x"`).
146146

147147
When we deploy the proxy, it will automatically create a new `ProxyAdmin` contract within its constructor. We'll need to get the address of this contract so that we can interact with it later. To do this, we'll use the `m.readEventArgument(...)` method to read the `newAdmin` argument from the `AdminChanged` event that is emitted when the proxy is deployed.
148148

0 commit comments

Comments
 (0)