Skip to content

Commit 9497d4d

Browse files
committed
chore: meta-evidence artifact tweak
1 parent 70d81a7 commit 9497d4d

File tree

3 files changed

+29
-6
lines changed

3 files changed

+29
-6
lines changed

contracts/deploy/01-foreign-gateway.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ const deployForeignGateway: DeployFunction = async (hre: HardhatRuntimeEnvironme
4949
log: true,
5050
});
5151

52-
// TODO: change me
53-
const metaEvidenceUri =
54-
"https://raw.githubusercontent.com/kleros/kleros-v2/master/contracts/deployments/rinkeby/MetaEvidence_ArbitrableExample.json";
52+
const metaEvidenceUri = `https://raw.githubusercontent.com/kleros/kleros-v2/master/contracts/deployments/${hre.network.name}/MetaEvidence_ArbitrableExample.json`;
5553

5654
await deploy("ArbitrableExample", {
5755
from: deployer,

contracts/deploy/03-vea-mock.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ const deployHomeGateway: DeployFunction = async (hre: HardhatRuntimeEnvironment)
4444
log: true,
4545
}); // nonce+1
4646

47-
// TODO: change me
48-
const metaEvidenceUri =
49-
"https://raw.githubusercontent.com/kleros/kleros-v2/master/contracts/deployments/rinkeby/MetaEvidence_ArbitrableExample.json";
47+
const metaEvidenceUri = `https://raw.githubusercontent.com/kleros/kleros-v2/master/contracts/deployments/goerli/MetaEvidence_ArbitrableExample.json`;
5048

5149
await deploy("ArbitrableExample", {
5250
from: deployer,
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"type": "single-select",
3+
"titles": [
4+
"Alice",
5+
"Bob",
6+
"Charlie"
7+
],
8+
"descriptions": [
9+
"Alice is right.",
10+
"Bob is right.",
11+
"Charlie is right"
12+
],
13+
"arbitratorChainID": 421613,
14+
"arbitrableChainID": 5,
15+
"arbitrableInterfaceURI": "https://my-awesomme.dapp.io/item/1234",
16+
"dynamicScriptRequiredParams": [
17+
"arbitrableChainID",
18+
"arbitrableContractAddress"
19+
],
20+
"evidenceDisplayInterfaceRequiredParams": [
21+
"disputeID",
22+
"arbitrableContractAddress",
23+
"arbitratorContractAddress",
24+
"arbitratorChainID"
25+
],
26+
"_v": "1.0.0"
27+
}

0 commit comments

Comments
 (0)