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

56 Commits

Author SHA1 Message Date
Miquel A. Cabot
227ea14738 simplify constants 2022-04-28 17:12:25 +02:00
Miquel A. Cabot
3431212515 fix merge error 2022-04-19 14:51:38 +02:00
Miquel A. Cabot
258b2d6ecc
Merge branch 'v4main' into issue-1346-rewrite-datatoken-test 2022-04-19 11:09:04 +02:00
Miquel A. Cabot
8686f53f6c test datatoken.transfer() function 2022-04-18 18:37:36 +02:00
Miquel A. Cabot
3c38fa9eb2 test datatoken.getDecimals() function 2022-04-18 17:48:30 +02:00
Soon Huat
628c2fc1fc
setPaymentCollector apply same checking as contract (#1396)
* setPaymentCollector apply same checking as contract

* unit test for setPaymentCollector for owner and erc20 deployer

* setPaymentCollector amend redundent truth check on boolean value

Co-authored-by: Soon Huat <soon_huat.phan@daimler.com>
2022-04-14 15:43:01 +01:00
Miquel A. Cabot
d73790d775 uncomment assert 2022-04-13 16:13:02 +02:00
Miquel A. Cabot
8f6de3632b fix freParams initialization error 2022-04-08 08:38:06 +02:00
Miquel A. Cabot
7a6e8f42b5 convert freParams to variable 2022-04-07 20:55:19 +02:00
Miquel A. Cabot
e2df76fb90 refeactor freCreationParams constant 2022-04-07 20:46:27 +02:00
Miquel A. Cabot
f4ea396e28 Merge branch 'v4main' into issue-1346-rewrite-datatoken-test 2022-04-06 17:18:17 +02:00
Alex Coseru
005c2d9760
Feature/bump contracts to alpha 28 (#1392)
* bump contracts to alpha 28
2022-04-04 14:56:41 +03:00
Miquel A. Cabot
a6ce3002be refactor ERC20 constants 2022-03-30 12:29: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
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
Miquel A. Cabot
319bad47e7 refactor constants 2022-03-29 15:01:36 +02:00
Miquel A. Cabot
546f516cee add web3 parameter 2022-03-20 19:03:14 +01:00
Miquel A. Cabot
589ec02938 refactor TestContractHandler variable names 2022-03-20 13:55:53 +01:00
Miquel A. Cabot
a77f1c5862 convert TestContractHandler class to function 2022-03-19 15:32:02 +01:00
Miquel A. Cabot
1e12ddd630 refactor TestContractHandler.getAccounts() 2022-03-18 18:21:27 +01:00
Miquel A. Cabot
f0a008ce89 use imports from TestContractHandler instead of parameters 2022-03-18 17:27:20 +01:00
Miquel A. Cabot
165b4c8680 refactor imports in the tests 2022-03-16 14:25:09 +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
Alex Coseru
9b724d71bd
Feature/contracts alpha 22 (#1334)
* bump contracts to alpha 22
2022-03-14 14:23:16 +02:00
Alex Coseru
91a4431938
update to contracts alpha.19 (#1286) 2022-02-14 18:36:15 +02:00
mihaisc
3c315eb49d
fixes (#1273)
* fixes

* fix test

* fix swap

* fix test

* fix test

* more fixes

* fixes

* change swapMarketFee from wei to decimal

* fix
2022-02-10 07:38:48 -08:00
Bogdan Fazakas
14862f6a3a
Moved interfaces under types and some small fixes (#1253)
* moved interfaces and some fixes

* throw proper error messages on try catch blocks in pool class
2022-02-07 08:06:58 -08:00
mihaisc
fc711ece5c
remove ammount (#1241)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-01-28 02:12:57 -08:00
mihaisc
be7adcb6f8
fix order, update contracts (#1240)
* fix order, update contracts

* remove console.log

* remove force contracts install
2022-01-26 10:27:58 -08:00
Bogdan Fazakas
5cb548ca59
replaced local artifacts with the published ones (#1232) 2022-01-20 04:39:58 -08:00
Bogdan Fazakas
d8a036e1ba removed logs 2022-01-20 00:33:32 +02:00
Bogdan Fazakas
8c9e21f309 fix start order and multi order 2022-01-19 18:56:59 +02:00
Bogdan Fazakas
ac52ad9f66 updated also token order struct 2022-01-19 14:33:21 +02:00
Bogdan Fazakas
90c8a3a0c8 put back BaseToken instead of Basetoken 2022-01-19 09:55:18 +02:00
Bogdan Fazakas
69432720f0 put back baseToken instead of basetoken 2022-01-19 09:48:23 +02:00
Bogdan Fazakas
fea2fde9e3 fixed lint 2022-01-17 15:26:48 +02:00
Bogdan Fazakas
471875f85c update codebase renamed dataToken baseToken etc 2022-01-17 15:05:05 +02:00
24425fcf8b fix artifacts path in all test files 2022-01-11 17:52:28 +00:00
bdfa60a91b move artifacts folder under /src 2022-01-11 17:52:28 +00:00
Bogdan Fazakas
810213c20c Revert "moved artifacts under src so to build starts"
This reverts commit 41fb836a4980f5a447dd9411037bd8f4618b7d24.
2022-01-11 10:35:28 +02:00
Bogdan Fazakas
41fb836a49 moved artifacts under src so to build starts 2022-01-11 09:47:41 +02:00
Bogdan Fazakas
a019491ed2 add used artifacts update imports and removed not used dependancies 2022-01-10 18:36:48 +02:00
Alex Coseru
f23e65f61b
publish tests (#1184)
* publish tests

* update to latest contracts

* fix unit tests
2022-01-03 17:34:28 +02:00
Bogdan Fazakas
303d7607c7 fixed typo and tests and update initialize method 2021-12-22 17:18:43 +02:00
Bogdan Fazakas
67eea42290 update unit tests 2021-12-22 15:59:46 +02:00
Bogdan Fazakas
722113f176 update startorder fees and tests 2021-12-22 11:05:57 +02:00