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-07-15 23:18:53 -07:00
parent 210e32579d
commit 8363c79c0b
2 changed files with 4 additions and 5 deletions

View File

@ -58,7 +58,7 @@ export class BalancerContractHandler {
public async SdeployContracts(minter: string) { public async SdeployContracts(minter: string) {
let estGas let estGas
console.log('Trying to deploy SPool') console.log('Trying to deploy SPool')
console.log("Bytecode size:"+this.poolBytecode.length) console.log('Bytecode size:' + this.poolBytecode.length)
estGas = await this.pool estGas = await this.pool
.deploy({ .deploy({
data: this.poolBytecode, data: this.poolBytecode,
@ -83,7 +83,7 @@ export class BalancerContractHandler {
.then(function (contract) { .then(function (contract) {
return contract.options.address return contract.options.address
}) })
console.log("Pool deployed:"+this.poolAddress) console.log('Pool deployed:' + this.poolAddress)
estGas = await this.factory estGas = await this.factory
.deploy({ .deploy({
data: this.factoryBytecode, data: this.factoryBytecode,

View File

@ -110,7 +110,6 @@ describe('Balancer flow', () => {
assert(SFactoryAddress !== null) assert(SFactoryAddress !== null)
}) })
it('should initialize OceanPool class', async () => { it('should initialize OceanPool class', async () => {
Pool = new OceanPool( Pool = new OceanPool(
web3, web3,