1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

remove unused oceanAddress parameter

This commit is contained in:
Miquel A. Cabot 2022-06-06 10:04:39 +02:00
parent 4dcb8a72ef
commit d23c1d1b05
2 changed files with 2 additions and 15 deletions

View File

@ -28,7 +28,6 @@ import { Config, ConfigHelper } from '../../config'
export class Datatoken {
public factoryAddress: string
public factoryABI: AbiItem | AbiItem[]
public datatokensAbi: AbiItem | AbiItem[]
public datatokensEnterpriseAbi: AbiItem | AbiItem[]
public web3: Web3

View File

@ -100,13 +100,7 @@ describe('Fixed Rate unit test', () => {
// user1 has no dt1
expect(await balance(web3, dtAddress, user1)).to.equal('0')
fixedRate = new FixedRateExchange(
web3,
contracts.fixedRateAddress,
8996,
null,
contracts.oceanAddress
)
fixedRate = new FixedRateExchange(web3, contracts.fixedRateAddress, 8996)
assert(fixedRate != null)
})
@ -415,13 +409,7 @@ describe('Fixed Rate unit test', () => {
// user1 has no dt1
expect(await balance(web3, dtAddress, user1)).to.equal('0')
fixedRate = new FixedRateExchange(
web3,
contracts.fixedRateAddress,
8996,
null,
contracts.oceanAddress
)
fixedRate = new FixedRateExchange(web3, contracts.fixedRateAddress, 8996)
assert(fixedRate != null)
})