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

694 Commits

Author SHA1 Message Date
Miquel A. Cabot
ae84833053 use approve() method from utils 2022-03-31 23:24:49 +02:00
Miquel A. Cabot
edc4e83e58 fix lint errors 2022-03-31 23:13:39 +02:00
Miquel A. Cabot
73c4647783 refactor constants 2022-03-31 23:10:46 +02:00
Miquel A. Cabot
a2964d4a30 use balance() function from library and don't use imported abis 2022-03-31 23:05:03 +02:00
Miquel A. Cabot
8f84b85a42 Revert "remove unused approve method"
This reverts commit 9eb88f47c68b1f6206857d59feaf70d26ddce177.
2022-03-31 21:51:48 +02:00
Miquel A. Cabot
9ff8b977e6 Revert "use balance() function from library"
This reverts commit b6894100a820e603273594b311f9fd37af3a5404.
2022-03-31 21:51:30 +02:00
Miquel A. Cabot
e49a94c0cb remove abi import 2022-03-30 17:36:54 +02:00
Miquel A. Cabot
f1fd537430 remove abi import 2022-03-30 17:33:51 +02:00
Miquel A. Cabot
b6894100a8 use balance() function from library 2022-03-30 12:43:44 +02:00
Miquel A. Cabot
a6ce3002be refactor ERC20 constants 2022-03-30 12:29:35 +02:00
Miquel A. Cabot
9eb88f47c6 remove unused approve method 2022-03-30 12:26:13 +02:00
Miquel A. Cabot
d3f9edc1bd remove unused variables 2022-03-30 12:13:35 +02:00
Miquel A. Cabot
8ec9d65cb9 refactor constants 2022-03-30 10:12:35 +02:00
Miquel A. Cabot
ba2d1e5fe7 assert that all needed exceptions are thrown 2022-03-30 10:08:06 +02:00
Miquel A. Cabot
623261d548 Merge branch 'issue-1356-rewrite-testcontracthandler-helper-class' into issue-1346-rewrite-datatoken-test 2022-03-29 23:13:02 +02:00
Miquel A. Cabot
3d6023d233 Merge branch 'issue-1356-rewrite-testcontracthandler-helper-class' into issue-1347-rewrite-nft-test 2022-03-29 23:02:55 +02:00
Miquel A. Cabot
40e618325e Merge branch 'issue-1356-rewrite-testcontracthandler-helper-class' into issue-1348-rewrite-nftfactory-test 2022-03-29 22:53:12 +02:00
Miquel A. Cabot
12eb0aebc2 fix merge errors 2022-03-29 22:41:20 +02:00
Miquel A. Cabot
736cf2e736 Merge branch 'v4main' into issue-1356-rewrite-testcontracthandler-helper-class 2022-03-29 22:30:51 +02:00
mihaisc
776a50a515
comment broken tests (#1379)
* comment broken tests

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* comment broken tests

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* comment broken tests

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* comment broken tests

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* comment broken tests

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-03-29 19:58:59 +03:00
Miquel A. Cabot
1b426a2098 remove an unnecessary aprove statement 2022-03-29 18:15:06 +02:00
Miquel A. Cabot
feda473f26 don't import abis from contracts in tests 2022-03-29 18:10:33 +02:00
Miquel A. Cabot
4a96021cc4 refactor constants 2022-03-29 18:10:16 +02:00
Soon Huat
4c5da01d66
change address[1] to paymentCollector based on smart contract (#1375)
Co-authored-by: Soon Huat <soon_huat.phan@daimler.com>
2022-03-29 15:40:30 +01:00
Bogdan Fazakas
4157e1e473
update compute status query and jsdoc (#1361) 2022-03-29 15:40:01 +01:00
Miquel A. Cabot
a33bf42452
Issue-#1367: Fix error in NftFactory.disableTokenTemplate() and NftFactory.reactivateTokenTemplate() (#1368)
* fix error in NftFactory.disableTokenTemplate() and NftFactory.reactivateTokenTemplate()

* add tests for nft and token templates
2022-03-29 15:37:50 +01:00
Miquel A. Cabot
319bad47e7 refactor constants 2022-03-29 15:01:36 +02:00
Miquel A. Cabot
16b83f0088 fix error in should deploy contracts Pool test 2022-03-28 15:19:51 +02:00
Miquel A. Cabot
1fda84251e remove unused variables 2022-03-28 13:13:22 +02:00
Miquel A. Cabot
b6bbdce723 refactor imports 2022-03-28 13:12:14 +02:00
Miquel A. Cabot
9560231829 test safeTransferNft 2022-03-24 20:59:17 +01:00
Miquel A. Cabot
3063a7daae refactor constants 2022-03-24 19:22:10 +01:00
Miquel A. Cabot
65c1d2f493 refactor constants 2022-03-24 14:07:27 +01:00
Miquel A. Cabot
e80edb8ab2 assert that all needed exceptions are thrown 2022-03-24 14:05:10 +01:00
Miquel A. Cabot
fd2af932b6 refactor constants 2022-03-24 13:08:04 +01:00
Miquel A. Cabot
354f20bd91 refactor constant names 2022-03-24 12:56:17 +01:00
Miquel A. Cabot
71e21f56e4 put constants inside test function 2022-03-24 12:45:37 +01:00
Miquel A. Cabot
db4d22b5bb check correct allowance amount 2022-03-24 11:09:07 +01:00
Miquel A. Cabot
5e9f99752c test adding disabling and reactivating templates 2022-03-23 19:19:33 +01:00
Miquel A. Cabot
ed2c725ac2 refactor comments 2022-03-23 17:11:41 +01:00
Miquel A. Cabot
c7608ea6b8 #createNftwithErc - should increment nft and token count 2022-03-23 17:11:34 +01:00
Miquel A. Cabot
054351b88a refactor nft and dt parameters 2022-03-23 16:43:20 +01:00
Miquel A. Cabot
a72c510b9e add DATA_TOKEN_AMOUNT constant 2022-03-23 15:54:38 +01:00
Miquel A. Cabot
4614833ce0 add constants 2022-03-23 15:45:58 +01:00
Miquel A. Cabot
352b52afb3 remove unused accounts 2022-03-23 13:10:45 +01:00
Miquel A. Cabot
913e8440c3 Merge branch 'issue-1356-rewrite-testcontracthandler-helper-class' into issue-1348-rewrite-nftfactory-test 2022-03-22 21:45:59 +01:00
Miquel A. Cabot
1bd82e7f3a Fix error "Cannot read properties of undefined (reading 'sideStakingAddress')" 2022-03-22 17:58:49 +01:00
Miquel A. Cabot
d60c26be50 Merge branch 'issue-1292-fix-compute-test-timeout' into issue-1356-rewrite-testcontracthandler-helper-class 2022-03-22 16:22:07 +01:00
Miquel A. Cabot
3cd57e00ee Merge branch 'issue-1246-use-confighelper-in-tests' into issue-1292-fix-compute-test-timeout 2022-03-22 15:44:24 +01:00
Miquel A. Cabot
d3246c5ae4 Merge branch 'v4main' into issue-1246-use-confighelper-in-tests 2022-03-22 15:43:48 +01:00