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
The deployed addresses should be output to the screen after the deployment is complete.
116
-
If you miss that, you can always go to the `deployments/<network>` directory and look for the respective file.
135
+
The deployed addresses should be displayed to the screen after the deployment is complete. If you missed them, you can always go to the `deployments/<network>` directory and look for the respective file.
yarn hardhat run scripts/getPoliciesV1.ts --network mainnet | tee policies.v1.json
148
-
yarn hardhat run scripts/getCourtsV1.ts --network mainnet | tee courts.v1.json
166
+
fornetworkin mainnet gnosischain
167
+
do
168
+
yarn hardhat run scripts/getPoliciesV1.ts --network $network| tee config/policies.v1.$network.json
169
+
yarn hardhat run scripts/getCourtsV1.ts --network $network| tee config/courts.v1.$network.json
170
+
done
149
171
```
150
172
151
173
#### 2/ Import the data to V2 - Local Network
152
174
175
+
:warning: By default this script populates from `*.mainnet.json`. To populate from `*.gnosischain.json`, set the variable `USE_GNOSIS` to true inside [scripts/populateCourts.ts](scripts/populateCourts.ts).
176
+
177
+
:warning: It is possible to switch to testnet-friendly court parameters by setting the variable `TESTING_PARAMETERS` to true inside [scripts/populateCourts.ts](scripts/populateCourts.ts).
178
+
153
179
Shell 1:
154
180
155
181
```bash
@@ -170,6 +196,20 @@ yarn hardhat run scripts/populatePolicyRegistry.ts --network arbitrumGoerli
170
196
yarn hardhat run scripts/populateCourts.ts --network arbitrumGoerli
171
197
```
172
198
199
+
### Generate deployment artifacts for existing contracts
0 commit comments