You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -119,18 +119,16 @@ Deploy the implementation contracts.
119
119
1. Add the following [env](.env) variables
120
120
121
121
-`CREATE2_FACTORY_CONTRACT_ADDRESS`
122
-
-`CREATE2_FACTORY_OWNER_KEY`
123
-
-`TOKEN_MINTER_V2_OWNER_ADDRESS`
124
122
-`TOKEN_MINTER_V2_OWNER_KEY`
125
123
-`TOKEN_CONTROLLER_ADDRESS`
126
124
-`DOMAIN`
127
125
-`MESSAGE_BODY_VERSION`
128
126
-`VERSION`
129
127
130
-
2. Run `make simulate-deploy-implementations-v2 RPC_URL=<RPC_URL> SENDER=<SENDER>` to perform a dry run.
128
+
2. Run `make simulate-deploy-implementations-v2 RPC_URL=<RPC_URL> SENDER=<SENDER> CREATE2_FACTORY_OWNER_KEY=<CREATE2_FACTORY_OWNER_KEY>` to perform a dry run.
to deploy MessageTransmitterV2, TokenMinterV2, and TokenMessengerV2.
135
133
136
134
#### V2 Proxies
@@ -148,7 +146,6 @@ The proxies are deployed via `CREATE2` through Create2Factory. The scripts assum
148
146
-`REMOTE_TOKEN_MESSENGER_V2_ADDRESSES`
149
147
-`CREATE2_FACTORY_CONTRACT_ADDRESS`
150
148
151
-
-`MESSAGE_TRANSMITTER_V2_IMPLEMENTATION_ADDRESS`
152
149
-`MESSAGE_TRANSMITTER_V2_OWNER_ADDRESS`
153
150
-`MESSAGE_TRANSMITTER_V2_PAUSER_ADDRESS`
154
151
-`MESSAGE_TRANSMITTER_V2_RESCUER_ADDRESS`
@@ -157,27 +154,26 @@ The proxies are deployed via `CREATE2` through Create2Factory. The scripts assum
157
154
-`MESSAGE_TRANSMITTER_V2_ATTESTER_2_ADDRESS`
158
155
-`MESSAGE_TRANSMITTER_V2_PROXY_ADMIN_ADDRESS`
159
156
160
-
-`TOKEN_MINTER_V2_CONTRACT_ADDRESS`
161
157
-`TOKEN_MINTER_V2_PAUSER_ADDRESS`
162
158
-`TOKEN_MINTER_V2_RESCUER_ADDRESS`
163
159
164
-
-`TOKEN_MESSENGER_V2_IMPLEMENTATION_ADDRESS`
165
160
-`TOKEN_MESSENGER_V2_OWNER_ADDRESS`
166
161
-`TOKEN_MESSENGER_V2_RESCUER_ADDRESS`
167
162
-`TOKEN_MESSENGER_V2_FEE_RECIPIENT_ADDRESS`
168
163
-`TOKEN_MESSENGER_V2_DENYLISTER_ADDRESS`
169
164
-`TOKEN_MESSENGER_V2_PROXY_ADMIN_ADDRESS`
165
+
-`TOKEN_MESSENGER_V2_MIN_FEE_CONTROLLER_ADDRESS`
166
+
-`TOKEN_MESSENGER_V2_MIN_FEE`
170
167
171
168
-`DOMAIN`
172
169
-`BURN_LIMIT_PER_MESSAGE`
173
170
174
-
-`CREATE2_FACTORY_OWNER_KEY`
175
171
-`TOKEN_CONTROLLER_KEY`
176
172
-`TOKEN_MINTER_V2_OWNER_KEY`
177
173
178
-
2. Run `make simulate-deploy-proxies-v2 RPC_URL=<RPC_URL> SENDER=<SENDER>` to perform a dry run.
174
+
2. Run `make simulate-deploy-proxies-v2 RPC_URL=<RPC_URL> SENDER=<SENDER> CREATE2_FACTORY_OWNER_KEY=<CREATE2_FACTORY_OWNER_KEY>` to perform a dry run.
179
175
180
-
3. Run `make deploy-proxies-v2 RPC_URL=<RPC_URL> SENDER=<SENDER>` to deploy the contracts
176
+
3. Run `make deploy-proxies-v2 RPC_URL=<RPC_URL> SENDER=<SENDER> CREATE2_FACTORY_OWNER_KEY=<CREATE2_FACTORY_OWNER_KEY>` to deploy the contracts
181
177
182
178
4. ONLY perform steps 5-7 for additional remote resources NOT already configured above.
183
179
@@ -221,11 +217,26 @@ Use Create2Factory to deploy the helper library to a deterministic address for e
221
217
1. Set the following [env](.env) variables:
222
218
223
219
-`CREATE2_FACTORY_CONTRACT_ADDRESS`
224
-
-`CREATE2_FACTORY_OWNER_KEY`
225
220
226
-
2. Run `make simulate-deploy-address-utils-external RPC_URL=<RPC_URL> SENDER=<SENDER>` to perform a dry run.
221
+
2. Run `make simulate-deploy-address-utils-external RPC_URL=<RPC_URL> SENDER=<SENDER> CREATE2_FACTORY_OWNER_KEY=<CREATE2_FACTORY_OWNER_KEY>` to perform a dry run.
222
+
223
+
3. Run `make deploy-address-utils-external RPC_URL=<RPC_URL> SENDER=<SENDER> CREATE2_FACTORY_OWNER_KEY=<CREATE2_FACTORY_OWNER_KEY>` to deploy.
224
+
225
+
#### Predicting Create2 Deployment Addresses
226
+
227
+
The `PredictCreate2Deployments.s.sol` script can help compute expected deployment addresses for various contracts. You can run it like so:
0 commit comments