mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
add aquarius to export list (#1280)
* export aquarius as well * send timestamp in seconds, not ms
This commit is contained in:
parent
84a022f80c
commit
9782af59a2
@ -1,3 +1,4 @@
|
|||||||
|
export * from './aquarius'
|
||||||
export * from './pools'
|
export * from './pools'
|
||||||
export * from './tokens'
|
export * from './tokens'
|
||||||
export * from './factories'
|
export * from './factories'
|
||||||
|
@ -245,7 +245,7 @@ describe('Simple compute tests', async () => {
|
|||||||
// let's have 60 seconds of compute access
|
// let's have 60 seconds of compute access
|
||||||
const mytime = new Date()
|
const mytime = new Date()
|
||||||
mytime.setMinutes(mytime.getMinutes() + 1)
|
mytime.setMinutes(mytime.getMinutes() + 1)
|
||||||
const computeValidUntil = mytime.getTime()
|
const computeValidUntil = Math.floor(mytime.getTime() / 1000)
|
||||||
// initialize provider orders for algo
|
// initialize provider orders for algo
|
||||||
const initializeDataAlgo = await ProviderInstance.initialize(
|
const initializeDataAlgo = await ProviderInstance.initialize(
|
||||||
resolvedDDOAlgo.id,
|
resolvedDDOAlgo.id,
|
||||||
@ -258,6 +258,7 @@ describe('Simple compute tests', async () => {
|
|||||||
computeEnv,
|
computeEnv,
|
||||||
computeValidUntil
|
computeValidUntil
|
||||||
)
|
)
|
||||||
|
console.log(initializeDataAlgo)
|
||||||
const providerAlgoFees: ProviderFees = {
|
const providerAlgoFees: ProviderFees = {
|
||||||
providerFeeAddress: initializeDataAlgo.providerFee.providerFeeAddress,
|
providerFeeAddress: initializeDataAlgo.providerFee.providerFeeAddress,
|
||||||
providerFeeToken: initializeDataAlgo.providerFee.providerFeeToken,
|
providerFeeToken: initializeDataAlgo.providerFee.providerFeeToken,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user