Skip to content

Commit 67bcb33

Browse files
committed
Fixed issues with deploy script
1 parent 2cf370b commit 67bcb33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async function deploy() {
3636
let args = [
3737
artifacts.incentiveLayer.address,
3838
artifacts.tru.address,
39-
artifacts.fileSystem,
39+
artifacts.fileSystem.address,
4040
info.ipfshash,
4141
info.codehash
4242
]
@@ -47,7 +47,7 @@ async function deploy() {
4747

4848
let tru = new web3.eth.Contract(artifacts.tru.abi, artifacts.tru.address)
4949

50-
tru.transfer(c._address, "100000000000", {from: accounts[0], gas:200000})
50+
tru.methods.transfer(c._address, "100000000000").send({from: accounts[0], gas:200000})
5151

5252
fs.writeFileSync("export.json", JSON.stringify({
5353
address: c._address,

0 commit comments

Comments
 (0)