Skip to content

Commit 4e559c0

Browse files
committed
chore: update deploy sript
1 parent 1e9689b commit 4e559c0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

deploy/1_deploy_truthpost.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ module.exports = async ({ getNamedAccounts, deployments, getChainId, getUnnamedA
1616
42: "0x60B2AbfDfaD9c0873242f59f2A8c32A3Cc682f80",
1717
5: "0x1128eD55ab2d796fa92D2F8E1f336d745354a77A",
1818
};
19+
const TREASURY = "0x387e8B40e332831b7a8ad629966df3E9f969C6ad";
1920

2021
const primaryDocumentIPFSPath = "QmaUr6hnSVxYD899xdcn2GUVtXVjXoSXKZbce3zFtGWw4H/Question_Resolution_Policy.pdf";
2122

@@ -50,7 +51,7 @@ module.exports = async ({ getNamedAccounts, deployments, getChainId, getUnnamedA
5051
const networks = {
5152
42: config.networks.kovan,
5253
1: config.networks.main,
53-
5: config.networks.goerli
54+
5: config.networks.goerli,
5455
};
5556
const web3provider = new providers.JsonRpcProvider(networks[chainId]);
5657
const accounts = await getUnnamedAccounts();
@@ -60,7 +61,7 @@ module.exports = async ({ getNamedAccounts, deployments, getChainId, getUnnamedA
6061
const contractInstance = deploy(contractName, {
6162
from: deployer,
6263
gasLimit: 4000000,
63-
args: [KLEROS[chainId], generateArbitratorExtraData(SUBCOURT, NUMBER_OF_VOTES), metaevidenceURI, 300, 128, 256],
64+
args: [KLEROS[chainId], generateArbitratorExtraData(SUBCOURT, NUMBER_OF_VOTES), metaevidenceURI, 300, 128, 256, TREASURY],
6465
});
6566
console.log("Tx sent. Waiting for confirmation.");
6667

0 commit comments

Comments
 (0)