Bogdan Fazakas
808178291d
Update provider nonce handling ( #1747 )
...
* Updates the usage of nonce
* nonce method updates
* fix lint
* remove double resolve for the response
* use provider invalid-signature image and comm update docs
* print errro
* set a default value if nonce received is null
* fix issue with consumer address on download
* remove parse int
* skip compute tests
* Updating CodeExamples.md
* put back compute tests
* prepare for release
* use older contracts
---------
Co-authored-by: GitHub Actions Bot <>
2023-07-31 13:21:05 +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
MantisClone
6efae8ebbc
Update Provider.checkFileUrl to allow non-URL file types (like Arweave) ( #1627 )
...
* Update Provider.checkFileUrl to allow non-URL file types
* Reduce scope to only URLs and Arweave.
* Remove parentheses to make linter happy
* Update Provider tests to use UrlFile argument
* Fix lint errors
* Fix lint error
* [REVERT THIS] comment coverage upload
* CC_TEST_REPORTER_ID secret not available in PR workflows from
external contributors.
* Revert "[REVERT THIS] comment coverage upload"
This reverts commit 7ca94b7e71ce5d53fa0c7b35bdff85e91b6db059.
* Add Arweave fileinfo unit test
* Rename `checkFileUrl` to `getFileInfo`
* Fix lint error
2022-10-19 13:24:20 +01:00
Alex Coseru
be06f05365
update to new schema & compute fixes ( #1510 )
...
* update to new schema
* fix codeExamples
* fix computeflows
2022-06-15 19:03:56 +03:00
Miquel A. Cabot
b40f52d6a6
add assertion
2022-05-04 18:25:12 +02:00
Miquel A. Cabot
997bbf57b4
test getComputeEnvironments()
2022-05-04 18:13:36 +02:00
Miquel A. Cabot
165b4c8680
refactor imports in the tests
2022-03-16 14:25:09 +01:00
Miquel A. Cabot
9a583e60e0
use configuration variables instead of constants
2022-03-16 14:07:00 +01:00
Miquel A. Cabot
35722239df
use configuration file to read variables
2022-03-16 13:06:10 +01:00
Miquel A. Cabot
896211b93f
read configHelperNetworks values for the tests
2022-03-15 19:13:58 +01:00
mihaisc
b880bee007
remove optional fetch method, add abort signal ( #1235 )
...
* remove optional fetch method, add abort signal
* fix encrypt
* fix encrypt
* fix lint,tests
* test
* fix adr
* test
* fix asset
* t
* t
2022-01-24 23:49:13 -08:00
Bogdan Fazakas
d91dd5a8a8
update provider tests
2022-01-12 11:46:59 +02:00
Bogdan Fazakas
5445e210ba
wip provider updates add default http method & set headers and method to all calls
2022-01-10 15:40:12 +02:00
Bogdan Fazakas
bb828b954c
updated fetch decouple strategy and added some tests
2021-11-26 16:40:29 +02:00
Bogdan Fazakas
3e9991e6f0
initial backbone commit
2021-10-13 09:10:55 +03:00
mariacarmina
687fd743c6
Fixed integration tests for Provider.ts and Marketplaceflow.ts.
2021-02-10 17:25:35 +02:00
Alex Coseru
16c21e1ecb
add updateServiceTimeout and edit ddo updates ( #544 )
...
* add updateServiceTimeout
* remove unnecessary code
* fix travis
* fix
* add fileinfo endpoint
* fix did problem
* namings refactor
* lint fix
2021-01-18 12:02:38 +02:00
Călina Cenan
34f8b4a9e0
[WIP] Adds checkURL function to use provider endpoint. ( #540 )
...
* Adds checkURL function to use provider endpoint.
* Change Provider version in Travis.
* Update checkURL function to return full result instead of boolean.
Co-authored-by: Calina Cenan <calina.tutunaru@algotech.solutions>
2021-01-13 14:42:02 +02:00
Ahmed Ali
d72bb39a96
minor fix in tests: assert from chai
2020-10-14 15:16:40 +02:00
905fd99496
update tests
2020-09-23 21:39:35 +02:00
alexcos20
e71180e2df
add tests
2020-09-19 00:39:05 -07:00