1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00
This commit is contained in:
alexcos20 2020-08-31 00:33:35 -07:00
parent 220261cada
commit 6121da3fff

View File

@ -40,7 +40,14 @@ export class TestContractHandler {
estGas = await this.template
.deploy({
data: this.templateBytecode,
arguments: ['Template Contract', 'TEMPLATE', minter, cap, blob, communityCollector]
arguments: [
'Template Contract',
'TEMPLATE',
minter,
cap,
blob,
communityCollector
]
})
.estimateGas(function (err, estGas) {
if (err) console.log('DeployContracts: ' + err)
@ -50,7 +57,14 @@ export class TestContractHandler {
this.templateAddress = await this.template
.deploy({
data: this.templateBytecode,
arguments: ['Template Contract', 'TEMPLATE', minter, cap, blob, communityCollector]
arguments: [
'Template Contract',
'TEMPLATE',
minter,
cap,
blob,
communityCollector
]
})
.send({
from: minter,