Maria Carmina
a0a8df328f
Add confidential EVM flag when creating a datatoken 4 in NFT class ( #1859 )
...
* Add confidential EVM flag when creating a datatoken 4.
* Add comments.
* fix lint.
* fix lint.
* Add chain id check to bundled functions.
* Updating CodeExamples.md
* Updating ComputeExamples.md
* Used config object.
* Added check for sapphire confidential EVM. Fix tests.
* Added sapphire wrap signer for all contracts.
* Make network mandatory field.
* Undo making network mandatory.
* refactor condition.
* refactor condition.
* Add condition when creating NFT.
* Refactor with sdk.
* fix lint.
* tweak.
* tweak.
* Created protected function to get vthe signer according to the sdk from config.
* Fix lint. Add check for sdk within the config.
* Fix lint.
* Updating CodeExamples.md
* Updating ComputeExamples.md
---------
Co-authored-by: GitHub Actions Bot <>
2024-10-16 15:27:41 +03:00
paulo-ocean
c80d69ec32
remove duplicate file + fix import
2024-10-01 10:30:25 +01:00
paulo-ocean
8d579de47a
merge main & fix conflicts
2024-10-01 10:25:06 +01: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
c701652ee7
throw some error msgs if no tx
2024-09-25 09:56:00 +01:00
paulo-ocean
25c4488df6
Merge branch 'main' into bugfix/order_fix
2024-09-25 09:20:05 +01:00
paulo-ocean
6ea2ea274a
update files object
2024-09-18 13:06:32 +01:00
paulo-ocean
3255ce173a
small changes for order
2024-09-17 12:53:06 +01:00
paulo-ocean
a06a5c5cab
fix files, string, cannot be null
2024-09-13 14:26:07 +01:00
paulo-ocean
4bcb1d9348
some fixes + cleaning
2024-09-13 09:09:16 +01:00
paulo-ocean
b5a2a64271
added changes for access lists
2024-09-12 18:59:06 +01:00
paulo-ocean
51ddf52d58
some fix and refactor
2024-09-12 13:18:16 +01:00
paulo-ocean
61fff3441d
fix review
2024-09-11 10:14:25 +01:00
paulo-ocean
7332252a57
fix lint
2024-09-10 14:58:07 +01:00
paulo-ocean
d9bbaff8e1
some refactor and commenst
2024-09-10 14:57:19 +01:00
paulo-ocean
fb810795d0
update proper abi json file
2024-09-10 14:43:20 +01:00
paulo-ocean
0e06347a0a
fix minor logic issue
2024-09-09 14:46:39 +01:00
paulo-ocean
f3c44d4850
cleaning the house
2024-09-09 14:24:04 +01:00
paulo-ocean
4e954572b4
fix test fn
2024-09-09 13:14:30 +01:00
paulo-ocean
0bd720a042
try debug tests
2024-09-09 13:00:56 +01:00
paulo-ocean
13827001e8
test/unit/AssetUtils.test.ts
2024-09-09 12:46:47 +01:00
paulo-ocean
df2d5dd054
try another way, debug
2024-09-09 12:06:04 +01:00
paulo-ocean
36f1865175
more debug, try fn workaround
2024-09-09 11:41:21 +01:00
paulo-ocean
4d14dae3aa
debug ethers on hardhat
2024-09-09 10:55:33 +01:00
paulo-ocean
9ec89b6ab0
debug ethers on hardhat
2024-09-09 10:46:26 +01:00
paulo-ocean
a049a1a488
use hardhat getContractAt
2024-09-09 10:20:47 +01:00
paulo-ocean
e855f787c5
remove debug comments, add comment for todo
2024-09-06 18:45:35 +01:00
paulo-ocean
92a5ff92af
more debugging
2024-09-06 18:07:11 +01:00
paulo-ocean
fe3fbc4edd
debug test
2024-09-06 16:01:06 +01:00
paulo-ocean
9277847279
fixes on the checks, also consider name typos, as we currently have
2024-09-06 15:07:57 +01:00
paulo-ocean
ee02a0e2c4
more unit tests, template index
2024-09-05 16:06:41 +01:00
paulo-ocean
b48c48b8fb
fix import style
2024-09-05 15:55:43 +01:00
paulo-ocean
995a7f0ef9
wip: add unit test
2024-09-05 14:59:16 +01:00
paulo-ocean
57ffc12793
wip: calculate template index
2024-09-05 12:42:21 +01:00
paulo-ocean
f5166bd08c
wip... refactroing..
2024-09-05 11:27:07 +01:00
paulo-ocean
6bca7d6c56
few more changes, use config
2024-09-03 16:53:32 +01:00
paulo-ocean
17603be1bb
wip: create asset
2024-09-03 12:46:00 +01: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
Bogdan Fazakas
a0964d5096
Fix provider fee approval in order helper ( #1795 )
...
* fix provider fee approval in order helper
* fix lint
* undo hardcode
2023-12-15 13:39:39 +02:00
Ana Loznianu
c7b45ee10a
Fix linter
2023-12-05 16:02:29 +02:00
Ana Loznianu
bcfd125b72
Fix non existing transaction error
2023-12-05 15:38:05 +02:00
Bogdan Fazakas
38cc02849e
fix fs use & error handling ( #1777 )
...
* fix fs use
* Release 3.1.3-next.0
* update error handling
* Release 3.1.3-next.1
2023-10-16 23:26:30 +03:00
Bogdan Fazakas
cf0c1221a9
fix compute stop & uptade order helper to be reused also for c2d oreder methods ( #1761 )
2023-09-04 09:35:09 +03:00
Bogdan Fazakas
faa7de3601
Feature/Add order util method ( #1759 )
...
* added order helper method using contracts calls
* fixes consume fees & lint
* cleanup
* update order helper method to be more generic
* fix all warnings
2023-08-25 17:33:06 +03:00
Bogdan Fazakas
a50cd5bb00
Fix/ Download file browser ( #1758 )
...
* remove head call for download file browser helper method
* fix lint
2023-08-01 20:23:36 +03:00
Bogdan Fazakas
a7c68e995d
Updates to Provider errors handling ( #1745 )
2023-07-14 12:11:38 +03:00
Bogdan Fazakas
0c60d9bbd4
set min gas fee 30 gwei on priority fees for polygon and mumbai as well ( #1736 )
...
* set min gas fee 30 gwei on priority fees for polygon and mumbai as well
* Release 3.0.1-next.0
2023-06-06 15:58:54 +02: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
b99bde9327
Fix download when content disposition header missing ( #1680 )
...
* default filenamen
* remove logs
2023-01-05 17:40:48 +02:00
Bogdan Fazakas
8de514f15b
Min 30gwei polygon main and mumbai fees ( #1671 )
...
* wip tx underpriced
* cleanups
* small fixes
* added comments
2022-12-22 09:35:46 +02:00