mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
lint fix
This commit is contained in:
parent
210e32579d
commit
8363c79c0b
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user