* Adding option to retire asset
* Adding retireAsset to edit form validation
* CHanging to select box
* Updating assetState from edit form
* Adding asset state on the asset detail page
* Refactoring
* Adding a test for MetaFull component
* Increasing test coverage by also testing with an algorithm
* Adjusting example algorithm
* Adding additional tests
* Additional test for Bookmark component
* Allowing NFT owners to view their own assets
* Only showing asset state when it isn't Active
* Restricting options to just Active or unlisted
* Removing logs
* Removing logs
* Updating tests
* Updating tests
* Fixing form
* Updating asset state options
* Adding utils for converting asset state to and from string | number
* Using new functions to convert asset state from string to number
* Allowing people to order assets that are unlisted
* Changing condition for making the asset unavailable
* only showing the asset on the profile if it has state 1,4 or 5
* Renaming jest fixtures
* Avoiding getInitialPaymentCollector failure (#1816)
* early return is no web3 or ddo
* Creating test for MetaFull
* adding test: src/components/Asset/AssetContent/MetaSecondary.test.tsx
* Adding test for bookmarks
* Adding test for displaying payment collector
* Removing comments
* Renaming assetAquarius
* Renaming assetWithAccessDetails
* Ensuring that the payment collector is shown even without a wallet connected
* Removing broken test
* Using getDummyWeb3 for fetching the payment collector address
* fixing assetState import
* google validation (#1835)
* Updating validation to exclude any google link
* Updating Yup validation
* Checking if domain includes google.com
* Updating isGoogleUrl function
* Moving isGoogleUrl into @utils/url/index file
* isGoogleUrl function
* Updating tests
* Adding additional tests for other google domains
* Updating tests
* Updating isGoogleUrl file path
* Early return if no data available in getNetworkDisplayName
* Updating pricing message (#1842)
* Bump @storybook/addon-essentials from 6.5.13 to 6.5.15 (#1841)
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/addons/essentials) from 6.5.13 to 6.5.15.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.15/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.15/addons/essentials)
---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump @types/jest from 29.2.3 to 29.2.5 (#1840)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.2.3 to 29.2.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump prettier from 2.8.0 to 2.8.1 (#1837)
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.0...2.8.1)
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump react-select from 5.6.1 to 5.7.0 (#1839)
Bumps [react-select](https://github.com/JedWatson/react-select) from 5.6.1 to 5.7.0.
- [Release notes](https://github.com/JedWatson/react-select/releases)
- [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/JedWatson/react-select/compare/react-select@5.6.1...react-select@5.7.0)
---
updated-dependencies:
- dependency-name: react-select
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump react-tabs from 5.1.0 to 6.0.0 (#1838)
Bumps [react-tabs](https://github.com/reactjs/react-tabs) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/reactjs/react-tabs/releases)
- [Commits](https://github.com/reactjs/react-tabs/compare/v5.1.0...v6.0.0)
---
updated-dependencies:
- dependency-name: react-tabs
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix asset route (#1836)
* updating the buy button message for free assets
* Updating pricing text for compute and algorithms
* Updating tests
* Adding a seperate sentence about paying gas fees for network charges with free assets
* Fixing tests
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* Showing hosting type in File Info (#1846)
* Bump @storybook/addon-essentials from 6.5.13 to 6.5.15 (#1841)
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/addons/essentials) from 6.5.13 to 6.5.15.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.15/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.15/addons/essentials)
---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump @types/jest from 29.2.3 to 29.2.5 (#1840)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.2.3 to 29.2.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump prettier from 2.8.0 to 2.8.1 (#1837)
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.0...2.8.1)
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump react-select from 5.6.1 to 5.7.0 (#1839)
Bumps [react-select](https://github.com/JedWatson/react-select) from 5.6.1 to 5.7.0.
- [Release notes](https://github.com/JedWatson/react-select/releases)
- [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/JedWatson/react-select/compare/react-select@5.6.1...react-select@5.7.0)
---
updated-dependencies:
- dependency-name: react-select
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump react-tabs from 5.1.0 to 6.0.0 (#1838)
Bumps [react-tabs](https://github.com/reactjs/react-tabs) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/reactjs/react-tabs/releases)
- [Commits](https://github.com/reactjs/react-tabs/compare/v5.1.0...v6.0.0)
---
updated-dependencies:
- dependency-name: react-tabs
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix asset route (#1836)
* Adding hosting type to the file info component
* Writting smart contract hosting type across two lines
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* add initial price value for not supported price assets (#1851)
* Fix compute basetoken issue (#1829)
* fix lint
* add dynamic provider fees
* fixes
* cleanup and more fixes
* bump oceanlib to 2.6.0
* fix 404 styling (#1850)
* Fixing bug that was preventing assets from showing on the profile page
* fixing the overwritting transaction
* Setting error message if the asset state has been set to 1, 2 or 3
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
Co-authored-by: EnzoVezzaro <enzo-vezzaro@live.it>
* package updates
* bump Next.js
* update for Next.js v13 new `Link` behavior
* see https://nextjs.org/docs/upgrading#link-component
* test tweaks, simplify getNetworkDisplayName()
* modify codeclimate excludes
* test tweaks and cleanup
* more cleanup
* switch to Node.js v18
* back to Node.js v16
* temporarily run CI against Node.js v16 & v18
* update codeowners
* fixtures fixes for asset price
* switch to Node.js v18
* package updates
* remark updates, typescript and test fixes
* fix
* test run fixes
* yet another lockfileVersion update
* package updates
* test run fixes
* Ensuring the market doesn't crash when asset has no services
* Showing no pricing schema available when there are no services for an asset
* Shoing No file info available when there are no services available
* removing logs
* early return if asset has no services
* add Goerli, kick out Ropsten & Rinkeby
* bump @oceanprotocol/lib to v2.1.0
* bump to ocean.js v2.1.1
* bump eslint-config-oceanprotocol to v2.0.4
* put back Rinkeby & Ropsten to supported networks
* hacky hack to make OCEAN balance work all the time
* Revert "hacky hack to make OCEAN balance work all the time"
This reverts commit 4914314288b09b2844bb1baa18212c49f41cb8ff.
* remove rinkeby & ropsten
* fix chainIds data migration
* prototype getting ENS names the right decentralized way
* get all profile metadata with ENS
* refactor account display in context of top sales list
* support almost all default text records
* refactor text record fetching
* more web3 calls reduction
* package cleanup
* add Publisher component test, mock out ens utils
* remove mock to run @utils/ens directly
* add Avatar stories
* cleanup
* rebase fixes
* profile loading tweaks
* fixes
* merge cleanup
* remove @ensdomains/ensjs
* fetch ENS data from proxy
* update avatar tests
* tweak error catching for all axios fetches
* test tweaks
* api path fix
* fetching fixes
* account switching tweaks
* remove unused methods
* add ENS fetching tests
* jest timeout tweak
* update readme
* refactor price context to fetch multiple tokens
* fixes
* move tokenIds to app config
* make conversion work
* conversion for all user tokens, hide if 0
* different user balance key tactic
* remove NFT gas estimation
* closes#1633
* small simplification in getCoingeckoTokenId logic
* basic Prices provider test
* mock some hooks
* mock MarketMetadata in all tests
* feat: add approved tokens list query to subgraph
* feat: add base token selector
* feat: add placeholder tooltip message for base token
* feat: use user selected base token for publish
* fix: publish constants
* feat: update base token query to include digits and symbol
* feat: display correct token name and symbol in publish pricing tab
* fix: publish preview token name
* fix: query type
* feat: add balance fetch for all approved tokens
* fix: balance check for dynamic price with alternative base tokens
* feat: update balance to show baseToken instead of ocean
* fix: default baseToken in publish form
* feat: update text content for pricing publish step
* chore: update ocean.js
* add decimals to token
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix dt decimals
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update ocean.js
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix: show correct basetoken symbol under button buy
* refactor: move baseToken selector to input label [WIP]
* refactor: preserve baseToken value value when switching tabs
* remove basetoken tooltip from content json
* fix: price props
* refactor: remove BaseToken component
* fix: baseToken name on first load
* fix: baseToken display name in dynamic price
* fix: conversion tooltip text
* fix: error box overlapping in Coin component
* feat: add token logo component
* feat: add basetoken logo to asset actions pool
* fix: token images size
* fix: add default appproved token list when disconnected or chainId not supported
* fix: datatoken logo on asset details meta
* refactor: balance fetch + move approved base tokens list in web3 provider
* feat: update all datatokens to display ocean logo in violet
* fix: show correct logos on polygon
* fix wallet, remove dynamic
* fix build
* fix: reset baseToken on chainId change during publish
* fix: price tabs selection indicator
* feat: set the ocean token as default in pricing
* add baseToken
* fix price
* remove firstPrice
* cleanup, more affordance for token dropdown
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* catch nft state
* use warnings for nft state
* update disabled message
* changes to messages
* removed case 4
* change message title
* fix similar block codeclimate
* restore `error` state instead of `warning`
* removed unnecessary warning state
* removed warning completely
* add balance check and check is consumable
* add isOrderable and other helpers
* finish start compute job
* removed unused methods
* add more comments
* add pool logic for order
* move asset selection to compute helper
* small fix
* fixed get algo list
* refactor start compute job and more fixes
* update order params
* use compute env and compute consumer address
* fix prices
* fix algorithms selection list on allowAllPublisher case
* fix edit compute settings
* update compute resources valid until logic
* fixes and cleanups
* wip compute jobs
* fix compute timeout value
* fixed compute jobs logic
* fix algo selection list name
* fixed compute jobs from profile loading
* update start compute flow messages
* update set algo access details
* update compute message logic
* added logs
* update package lock
* remove logs
* fix edit compute checksums for files and container
* Fix compute dataset algorithm list (#1194)
* fix query
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove comment
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* Fix previous order tx (#1197)
* rename nft update query
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix previous order
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix build
* handle order price, NaN and default 0
* optional value for all fee, prevent breaking when no value
* fix aquarius call and added logs
* update provider compute status call
* remove percentage fee from price sum, depends smart contract calculation (#1249)
Co-authored-by: Soon Huat <soon_huat.phan@daimler.com>
* fix display of compute datasets with free price
* removed to lowerCase on eth address
* fix compute jobs section and your jobs
* bumo ocean lib to 1.0.0-next.32
* c2d show price with fee, exclude provider fee
* wip get results
* include loading when calculating data + algo price, tooltip show order price
* update get compute url and use oceanjs helper for download
* update computeStatus signature to fix build and CI
* added logs
* refactor setting price and fees for assets
* update compute details and compute results UI and style
* update flex value
* update download buttons style
* update download buttons text
* bump ocean lib version and lint fixes
* get provier uri for compute results based on job input did
* use zero adress for price and fees order
* some fixes
* Add reuse order in start compute flow (#1352)
* wip add reuse order logic
* add reuse order in start job
* added missing check if no jobs found
* update lib
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix lint
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix fixed rate
* fix build
* fix your compute jobs section when asset network not selected
* disable edit compute settings for algorithms
* fix compute jobs infinite loading when no jobs found
* fix compute form
* show token symbol for free assets also on compute price output
* removed swp file
* some decimal fixes
* partial fix for asset with pool fees, algo not working yet
* more decimal fixes
* fix algo with pool price and fees fetching
* fix selecting algorithms when on different network
* fix compute jobs table auto refresh and details modal closing
* wip compute initialize
* order fixes
* fix lint
* fix conditions and cleanups
* fix compute status text display
* init prices and fees after starting a compute job
* start/order button tweaks
* kick in loader earlier
* update compute status feedback messages
* fixed initial price
* compute jobs refetch and reuse order
* remove logs
* removed logs and added some explanations
* use compute env max duration value in seconds
* error handling on intializeCompute and order
* removed console logs and added one new check
* use optional on initialized provider check
* remove toast from provider helper
* fix compute env issue on start order
* disable job selection during actions execution
* temporary fix publish algo with custom docker image
* fix provider fee display
* remove unnecessary condition
* fix alignment based button on action type (#1491)
* fix alignment based on action type
* moving to CSS modules
* send providerFeeAmount as string
* remove cast on providerFeeAmount
* removed some logs and added few comments
* update price output tooltip and total price logic
* set providerFee amount only when avaialable
* bump oceanlib to 1.1.2
* replace FIleMetadata to fix build
* used approveWei for approving provider fees
* fix free algo price selection and display
* fix provider fee load at first algo selection
* update compute help text
* fix provider fee approve for free assets
* cleanup
* remove commented out code
* remove unused state
* removed unused imports
* typos in comments, variables, props
* more typos
* shorten getAccessDetailsFromTokenPrice() a bit
* state & hooks access reordering
* Update src/@utils/ddo.ts
remove metadata from service type
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* effect dependency fixes
* state renaming
* effect dependency fixes
* compute jobs profile visual fixes
* effect dependency fixes
* more comments removal
* add accountId as a dependency in effect
* move isOwner to asset provider
* refactor handleComputeOrder for less complexity and more useful error reporting
* more proper error throwing
* provider fee statement tweak
* more obvious edit action
* empty array for `publisherTrustedAlgorithms` & `publisherTrustedAlgorithmPublishers` by default
* ref #1538
* ref #1539
* don t use initial tx values as valid order use subgraph value
* fix algo list fetching
* closes#1537
* addresses #1538
* fix disable compute button if algo is consumable
* move isOwner check to single effect
* Correctly display trusted algorithms in compute asset (#1541)
* fix allowed algo
* fix trusted algo filter
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Soon Huat <soon_huat.phan@daimler.com>
Co-authored-by: Soon Huat <soonhuat.phan@hotmail.com>
Co-authored-by: Enzo Vezzaro <enzo-vezzaro@live.it>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
Co-authored-by: mihaisc <mihai@oceanprotocol.com>
* update contracts
* add version selector
* show banner on all pages
* show banner on all pages
* Announcement/warning messages cleanup
* new main announcement message
* contextual compute-to-data warnings in publish form & asset action
* copy update
* change hardcoded URLs
* change localStorage key
* to prevent user preferences clashes when switching between v3 & v4
* footer stats note changes
* move copy into content file
* mention external markets
* footer stats note copy changes
* modified pool widget footer
* take out pool reserve display
* style & spacing updates for fees
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* unused package cleanup
* make storybook use webpack 5
* see https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#webpack-5
* bump react, cleanup
* button story tweaks
* add Alert stories
* bump Jest to v28.1.0
* try original storyshots initialization
* split up build & test CI jobs
* stop testing Node.js v14
* set jest coverage flag
* downgrade paambaati/codeclimate-action again
* move jest config files, remove coverageReporter override
* collect coverage from `src/` only
* another paambaati/codeclimate-action bump test
* create additional button markup test
* downgrade paambaati/codeclimate-action again
* more downgrade
* render default button without optional style prop
* ignore some folders for Jest
* full coverage for Alert
* more package updates
* add eslint-plugin-testing-library & eslint-plugin-jest-dom
* bump ESLint packages, follow new rules
* start storybook in quiet mode
* update docs
* test storybook build as part of CI
* more testing docs clarification
* add jest:watch command
* add body background colors switch in toolbar
* TypeScript voodoo
* test codeclimate-action@v2.7.3 for default coverageCommand
* downgrade codeclimate-action and running in debug mode
* make coverage artifacts OS agnostic
* subgraph typings as artifact for coverage job
* disable coverage sending job for now
Co-authored-by: Enzo Vezzaro <enzo-vezzaro@live.it>
* Moving isSupportedOceanNetwork to Web3 context
* Removing page title and replacing it with a warning message
* Creating Error state in title for the wrong network
* Creating UnsupportedNetwrok component
* Adding different networks into tooltip
* Adding button + styling
* Adding change netwrok function
* Adding Change Network tooltip to submit page
* Reducing code duplication
* Removing unnecessary changes
* Fixing logic for checking which chainIds are supported
* Simplifying isSupportedOceanNetwork check logic
* Default to not showing unsupported network message when no wallet is connected
* Always showing available networks in tooltip
* Adding info icon to action button
* adding padding to AvailableNetworks component
* Changing label to list components
* Changing brand-white to currentColor
* Revert "Changing brand-white to currentColor"
This reverts commit 278f0d4ab9.
* CHanging --brand-white to currentColor
* Info Icon in currentColor
* Changing NetworkOptions component name to Network
* Simplifying tooltip logic in title
* Removing unused classname
* Fixing repeating <ul> issue
* Removing unused class
* Refactoring AvailableNetworks component into src/components/Publish
* Moving tooltip message into content/publish/index.json
* Reducing duplication in css
* Removing duplication of infoIcon css styles
* Tidying up logic in setIsSupportedOceanNetwork useEffect
* Updating setIsSupportedOceanNetwork effect dependancies
* merge fixes for new MarketMetadata context
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* remove multiplier from totalLiquidityInOcean
* Revert "remove multiplier from totalLiquidityInOcean"
This reverts commit e6b5cc15d6.
* restore totalLiquidityInOcean calculation
* getting user / owner liquidity from calcSingleOutGivenPoolIn + some clean up
* removed web3 hook in favor of dummyWeb3 connection
* remove calc on user liquidity (YVL)
* show results
* sales number displayed correctly
* get downloads
* use totalSales parameter
* fixes
* sum sales fix
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>