Skip to content

Commit 7cda970

Browse files
committed
fix: populatePolicyRegistry script
1 parent 122b679 commit 7cda970

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

contracts/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ The complete deployment is multi-chain, so a deployment to the local network can
9494
**Shell 1: the node**
9595

9696
```bash
97-
yarn node --tags nothing
97+
yarn hardhat node --tags nothing
9898
```
9999

100100
**Shell 2: the deploy script**
@@ -120,7 +120,7 @@ If you miss that, you can always go to the `deployments/<network>` directory and
120120
**Shell 1: the node**
121121

122122
```bash
123-
yarn node --tags Arbitration,VeaMock
123+
yarn hardhat node --tags Arbitration,VeaMock
124124
```
125125

126126
**Shell 2: the test scripts**
@@ -153,7 +153,7 @@ yarn hardhat run scripts/getCourtsV1.ts --network mainnet | tee courts.v1.json
153153
Shell 1:
154154

155155
```bash
156-
yarn node --tags Arbitration
156+
yarn hardhat node --tags Arbitration
157157
```
158158

159159
Shell 2:

contracts/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"clean": "hardhat clean",
2020
"check": "solhint src/**/*.sol",
2121
"test": "TS_NODE_TRANSPILE_ONLY=1 hardhat test",
22-
"node": "hardhat node",
2322
"deploy": "hardhat deploy",
2423
"deploy:staging": "run-s \"deploy --network rinkeby {@}\" \"deploy --network arbitrumRinkeby {@}\" --",
2524
"etherscan-verify": "hardhat etherscan-verify",

contracts/scripts/populatePolicyRegistry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async function main() {
3232

3333
for await (const policy of policiesV2) {
3434
console.log("Populating policy for %s Court (%d): %s", policy.name, policy.court, policy.uri);
35-
await policyRegistry.setPolicy(policy.court, policy.uri);
35+
await policyRegistry.setPolicy(policy.court, policy.name, policy.uri);
3636
}
3737
}
3838

0 commit comments

Comments
 (0)