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) {
|
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,
|
||||||
|
@ -89,7 +89,7 @@ describe('Balancer flow', () => {
|
|||||||
)
|
)
|
||||||
await OceanPoolContracts.getAccounts()
|
await OceanPoolContracts.getAccounts()
|
||||||
owner = OceanPoolContracts.accounts[0]
|
owner = OceanPoolContracts.accounts[0]
|
||||||
|
|
||||||
await OceanPoolContracts.deployContracts(owner)
|
await OceanPoolContracts.deployContracts(owner)
|
||||||
OceanPoolFactoryAddress = OceanPoolContracts.factoryAddress
|
OceanPoolFactoryAddress = OceanPoolContracts.factoryAddress
|
||||||
assert(OceanPoolFactoryAddress !== null)
|
assert(OceanPoolFactoryAddress !== null)
|
||||||
@ -104,13 +104,12 @@ describe('Balancer flow', () => {
|
|||||||
)
|
)
|
||||||
await SContracts.getAccounts()
|
await SContracts.getAccounts()
|
||||||
owner = SContracts.accounts[0]
|
owner = SContracts.accounts[0]
|
||||||
|
|
||||||
await SContracts.SdeployContracts(owner)
|
await SContracts.SdeployContracts(owner)
|
||||||
const SFactoryAddress = SContracts.factoryAddress
|
const SFactoryAddress = SContracts.factoryAddress
|
||||||
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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user