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

14 Commits

Author SHA1 Message Date
Maria Carmina
6e0d0e85a6
Add checks for ddo chain id and did. (#1868) 2024-11-04 15:12:29 +02:00
Maria Carmina
9c25342c8e
Fix ipfs CID. (#1851)
* Fix ipfs CID.

* fix lint

* tweaks.

* Upgrade Github actions.

* fix graphql asset url.

* Fix cov.

* remove duplicate test.

* Surround by it block.

* debug log.

* added docker logs only for ipfs

* increase timeout.

* debug log.

* Changed to ipfs cluster.

* roll back.

* put in the same test with arweave.

* debug.

* Log initialize url.

* logs.

* tweak condition.

* changed cid with the one from cluster.

* Rename test. Added back uploading in ipfs.

* Fix review.
2024-10-09 11:18:46 +03:00
Maria Carmina
a2861ef4de
Integrate contracts v2.2.0 (#1845)
* Created AccessList contract.

* Created new Datatoken4 template.

* set file object fc.

* integrated datatoken 4 contract.

* install new version of ocean contracts.

* added sapphire sdk + remove private functions.

* tweaks of template4.

* wrap signer on access list contract.

* Added minimum gas fees for sapphire networks. Send function.

* Convert to contract functions. Remove abiEnterprise.

* Upgraded contracts v2.2.0.

* Integrated Access List factory. Created tests.

* Rename file.

* Add script for testing sapphire functionality.

* Remove sapphire sdk from accesslist contract.

* Added new functions to access list contract.

* Remove script.

* Remove script.

* Increase timeout to the tests.

* Added js script. Modified gitignore.

* Install tsx, added oasis testnet into config helpers.

* Modified provider signature.

* fix lint.

* Fix type module.

* commented ordering other assets different than URL.

* Added check for file object for template index.

* fix deploy erc20 template 4 test.

* Calculate index function. Fix review.

* Change to this.signer.

* Uncommented orders.

* Upgrade Github actions.

* Condition for calculation of template index.

* Specify ABI in the tests.

* Test w soulbound contracts.

* Fixed wallet address for test.

* Add deny list check.

* Store access list address within the constructor. Added tests.

* add debug log.

* Create new datatoken for consumer.

* distinguish coverage reports.

* Fix coverage download report.

* cleanup. added tests.

* fix tests.

* Remove unused imports.

* Increase timeout.

* Added test with encrypted tx.

* comment the test file.

* Add test back + add ABI.

* added debug log.

* increase timeout.

* Comment tests with external services.

* fix graphql URL.

* Insert arweave.

* Insert ipfs.

* cleanup. mention ipfs issue.

* Fixes. Added getFilesObject back.

* fix review.

* replace srv id w srv index.

* Fix doc.

* Remove wrap call from constructor.

* Modify README.

* Added check for tx.

* fix check.

* remove duplicate test.
2024-10-01 11:40:33 +03:00
paulo-ocean
4e0536a1f8 remove console.logs 2024-07-01 14:06:13 +01:00
paulo-ocean
88fea271da try other ipfs file 2024-07-01 12:53:37 +01:00
paulo-ocean
986f8fa5bf debug test 2024-07-01 10:14:33 +01:00
paulo-ocean
557289e5f2 put timeout back and test order,mut be ipfs side temporary 2024-06-28 12:23:11 +01:00
paulo-ocean
fb50bee380 try swap tests order , debug 2024-06-28 12:16:12 +01:00
paulo-ocean
974f3aa64e debug: add more timeout to test 2024-06-28 12:00:31 +01:00
paulo-ocean
bb44f762fb fix test 2024-06-28 11:34:23 +01:00
Bogdan Fazakas
e257a64053
Split coupled tests to fix timeout issues (#1827)
* split coupled tests
2024-06-25 17:34:55 +03:00
Bogdan Fazakas
6a6f450780
Multiple fixes (#1785)
* add sepolia logic

* update min gas fee value

* Release 3.1.5-next.0

* update graphqlAsset url

* update timeouts

* added logs

* update timeouts

* upgrade node version

* cleanups
2024-05-09 13:28:38 +03:00
Alex Coseru
9bf71ba4f0
Features/ethers (#1696)
* add ethers

* global updates

* ve updates

* ve tests

* contract updates

* first test passing

* downgrade to ethers 5.7.2

* add log

* add tx wait

* full NftFactory.test

* add wait

* add Router tests

* fix dispenser

* Nft test

* add dispenser tests

* add fre tests part 1

* WIP datatoken unit tests

* add DFRewards test

* increase gas estimate

* increase gas estimate

* Work datatoken unit tests

* datatoken test more tests

* finished datatoken tests

* fix nft get data

* fix nft transfer tests

* Provider int tests

* Updating CodeExamples.md

* update provider & fix publish flow int test

* wip publish edit consume integration test

* more work on  publish edit consume integration test

* fix edit  publish edit consume integration test

* add 3 int tests

* Updating ComputeExamples.md

* fix signature and download

* fix compute flow integration test

* udapte handleComputeOrder helper

* update datatoken instance

* update datatoken global variable

* mint ocean tokens to consumer as well and added logs

* update compute exammples

* Updating ComputeExamples.md

* wip code examples readme

* update code examples readme

* Updating CodeExamples.md

* run all tests

* update dep in readme

* update readme

* code examples update metadata flags

* update dt instance in code examples md

* set metadata updates

* Updating CodeExamples.md

* update code examples readme structure

* Updating CodeExamples.md

* update readmes table links

* Updating CodeExamples.md

* Updating ComputeExamples.md

* clean-up

* Updating CodeExamples.md

* added missing unit tests for usdc fixed rate exchange tests

* more cleanup and jsdoc updates

* more  jsdoc updates

* donw with jsdoc updates

* handle provider errors

* add missing error handling file

* adds most of the provider errors

* update get compute env return type

* Release 3.0.0-next.0

* adding Typedoc to ethers branch

* update provider signature message

* fix lint

* Release 3.0.0-next.1

* fix lint

* adding Typedoc to ethers branch

* Updating CI to build and commit the documentation

* Updating documentation

* Updating script permissions

* fix todos add missing logic to send tx

* npm package cleanups

* Release 3.0.0-next.2

* update log messages for errors

* Release 3.0.0-next.3

* fix gasFee issue on sendTx

* Release 3.0.0-next.4

* add consume params typings (#1731)

* fix gas fee estimate

* remove comments

* add some delays before resolving datasets

* adds delay to Publish flow tests

* Release 3.0.0-next.5

---------

Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
Co-authored-by: GitHub Actions Bot <>
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
Co-authored-by: Jamie Hewitt <jamie@oceanprotocol.com>
2023-05-29 11:20:38 +03:00
Bogdan Fazakas
b98f8a4e14
Cover all storage type support (#1685)
* adds new test file for all storage type supported (publish/ edit/ consume)
* added helper for integration tests
* refactor other test files to use helpers
2023-03-20 17:59:42 +02:00