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) {
let estGas
console.log('Trying to deploy SPool')
console.log("Bytecode size:"+this.poolBytecode.length)
console.log('Bytecode size:' + this.poolBytecode.length)
estGas = await this.pool
.deploy({
data: this.poolBytecode,
@ -83,7 +83,7 @@ export class BalancerContractHandler {
.then(function (contract) {
return contract.options.address
})
console.log("Pool deployed:"+this.poolAddress)
console.log('Pool deployed:' + this.poolAddress)
estGas = await this.factory
.deploy({
data: this.factoryBytecode,

View File

@ -89,7 +89,7 @@ describe('Balancer flow', () => {
)
await OceanPoolContracts.getAccounts()
owner = OceanPoolContracts.accounts[0]
await OceanPoolContracts.deployContracts(owner)
OceanPoolFactoryAddress = OceanPoolContracts.factoryAddress
assert(OceanPoolFactoryAddress !== null)
@ -104,13 +104,12 @@ describe('Balancer flow', () => {
)
await SContracts.getAccounts()
owner = SContracts.accounts[0]
await SContracts.SdeployContracts(owner)
const SFactoryAddress = SContracts.factoryAddress
assert(SFactoryAddress !== null)
})
it('should initialize OceanPool class', async () => {
Pool = new OceanPool(
web3,