Skip to content

Commit e575abe

Browse files
committed
mainnet deployment
1 parent 8ec85f9 commit e575abe

File tree

2 files changed

+23
-5
lines changed

2 files changed

+23
-5
lines changed

deploy/1_deploy_truthpost.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ module.exports = async ({ getNamedAccounts, deployments, getChainId, getUnnamedA
3131
titles: ["Accurate", "Inaccurate"],
3232
},
3333
// evidenceDisplayInterfaceURI: "/ipfs/QmSaac2Xh2LCxKWoekmbWG2z2vM4DGjZmbcRhXqUkQpd3h/index.html",
34-
dynamicScriptURI: "/ipfs/QmaMdkAG4CL6ZWWAbJGeHdMGBbHQJM1hmA7gthq9aqYSRC/index.js\n",
34+
dynamicScriptURI: "/ipfs/QmaMdkAG4CL6ZWWAbJGeHdMGBbHQJM1hmA7gthq9aqYSRC/index.js",
3535
fileURI: `${primaryDocumentIPFSPath}`,
3636
arbitrableChainID: chainId,
3737
arbitratorChainID: chainId,
38-
evidenceDisplayInterfaceRequiredParams: ["disputeID", "arbitrableChainID"],
38+
// evidenceDisplayInterfaceRequiredParams: ["disputeID", "arbitrableChainID"],
3939
dynamicScriptRequiredParams: ["disputeID", "arbitrableChainID", "arbitrableContractAddress"],
4040

4141
_v: "1.0.0",
@@ -69,7 +69,8 @@ module.exports = async ({ getNamedAccounts, deployments, getChainId, getUnnamedA
6969

7070
const contractInstance = deploy(contractName, {
7171
from: deployer,
72-
gasLimit: 4000000,
72+
gasLimit: 6000000,
73+
nonce: 24,
7374
args: [
7475
KLEROS[chainId],
7576
generateArbitratorExtraData(SUBCOURT, NUMBER_OF_VOTES),
@@ -81,9 +82,7 @@ module.exports = async ({ getNamedAccounts, deployments, getChainId, getUnnamedA
8182
],
8283
})
8384
console.log("Tx sent. Waiting for confirmation.")
84-
8585
const deployment = await contractInstance
86-
8786
console.log(`Going to try verifying the source code on Etherscan in ${sleepDuration / 1000} seconds.`)
8887

8988
await new Promise((resolve) => setTimeout(resolve, sleepDuration))

0 commit comments

Comments
 (0)