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
Bogdan Fazakas
a7c68e995d
Updates to Provider errors handling ( #1745 )
2023-07-14 12:11: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
59568d292e
update get compute env return type ( #1721 )
2023-05-03 09:21:21 +03:00
Bogdan Fazakas
5a29fefd3b
Multichain Provider ( #1698 )
...
* added chainId param to encrypt method
* updated tests & examples
2023-03-20 15:44:12 +02:00
Bogdan Fazakas
d539e00072
add headers ( #1665 )
2022-12-19 10:08:35 +00:00
EnzoVezzaro
cdb9f8e082
added more storage types to getFileInfo ( #1640 )
...
* added ipfs interface to getFileInfo
* added GraphqlQuery and Smartcontract interfaces to getFileInfo
2022-11-01 14:46:45 +00: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
Bogdan Fazakas
932dbf8a96
removed unnecesar logs
2022-08-22 17:01:31 +03:00
Bogdan Fazakas
35886bc934
added await
2022-08-22 16:31:57 +03:00
Bogdan Fazakas
541e714626
more compute logs
2022-08-22 16:15:40 +03:00
Bogdan Fazakas
99f56a24e0
added more logs on compute failure
2022-08-22 13:43:31 +03:00
Bogdan Fazakas
89b83221de
cleanups and warnings
2022-08-17 15:14:54 +03:00
Bogdan Fazakas
30aba62ef7
Remove amm pools ( #1568 )
...
* WIP remove pools
* added logs
* update checksums and logs
* Updating CodeExamples.md
* remove console logs
* remove unused params, simplify test folder structure
* contracts folder simplification, remove ss contract methods
* path fix
* remove more "staking" code
* put back `removeApprovedToken()`
* remove redundant and unused test commands
* test fix, auto-fix & auto-format
* consistent specific imports
* readme updates
* remove addDispenserContract method
* remove tokens subfolder from contracts
* update js docs and put back addDispenserContract
* use new digest for algorthms
* update nft getData to fix failing unit test
* replace pools with fre in buyDatatokenBatch
* use proper exchange ids
* increase allowance
* fix buyBatch test and deploy issues from testcontracthandler
Co-authored-by: GitHub Actions Bot <>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-08-16 11:54:28 +01:00
Bogdan Fazakas
452bf22855
merge main and fixed conflicts
2022-08-11 16:13:31 +03:00
Miquel A. Cabot
e61452faca
fix isValidProvider() function
2022-06-21 13:42:45 +02:00
Miquel A. Cabot
e5cdeee702
refactor try...catch in Provider
2022-06-21 11:54:12 +02:00
Miquel A. Cabot
31d9e912a3
remove unused function
2022-06-14 11:29:19 +02:00
Miquel A. Cabot
28ddcdaa3d
move getData() function to Provider
2022-06-09 13:17:45 +02:00
Miquel A. Cabot
cd34833ff7
move ConversionTypeHelper functions to Provider
2022-06-09 13:15:14 +02:00
Miquel A. Cabot
ff3e509944
Move Provider interface types to @types
2022-06-06 09:11:25 +02:00
Miquel A. Cabot
db3a2547a8
refactor services/ imports
2022-06-03 14:09:08 +02:00
Miquel A. Cabot
f7a1183c90
remove default exports
2022-06-03 14:01:54 +02:00
Miquel A. Cabot
79612f60c4
move Aquarius and Provider to /services
2022-06-02 21:49:16 +02:00