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

61 Commits

Author SHA1 Message Date
Miquel A. Cabot
d23c1d1b05 remove unused oceanAddress parameter 2022-06-06 10:04:39 +02:00
Miquel A. Cabot
82d9e4cf5f fix token address for decimal calculation in unitsToAmount() 2022-05-24 17:26:29 +02:00
Miquel A. Cabot
c29bf475c4 show outputs 2022-05-24 15:01:50 +02:00
Miquel A. Cabot
6d3a9edb23 fix decimals in balance check 2022-05-24 11:27:36 +02:00
Miquel A. Cabot
e53070807b fix decimals in balance check 2022-05-24 11:19:18 +02:00
Miquel A. Cabot
e42e031c1e use transfer() approve() and balance() functions 2022-05-24 10:36:36 +02:00
Miquel A. Cabot
71d49ec230 initialize accounts with null 2022-05-23 15:53:47 +02:00
Miquel A. Cabot
129705ac7f Merge branch 'v4main' into issue-1351-rewrite-fixedrateexchange-test 2022-05-17 12:25:55 +02:00
Alex Coseru
bf060948a8
bump contracts to alpha.33 (#1472)
* bump contracts
* remove getOPCCollector
2022-05-17 12:04:51 +03:00
mihaisc
1b93d86df5
fix test
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-05-03 13:32:43 +03:00
Miquel A. Cabot
2d115306e7 simplify constants 2022-04-28 17:18:53 +02:00
Miquel A. Cabot
72be0aa02a uncomment and fix broken tests 2022-04-13 17:23:21 +02:00
Miquel A. Cabot
3660f5c913 refactor constants 2022-04-06 18:40:27 +02:00
Miquel A. Cabot
a0a5230794 sepparate functions 2022-04-06 18:14:18 +02:00
Miquel A. Cabot
3ddb36b468 use contracts.fixedRateAddress 2022-04-04 16:42:16 +02:00
Miquel A. Cabot
ea86aa7dcc remove ABI import 2022-04-04 16:37:11 +02:00
Miquel A. Cabot
a29f47ed7c use ZERO_ADDRESS constant 2022-04-04 16:33:11 +02:00
Miquel A. Cabot
11cffc949e remove unused variables 2022-04-04 16:31:04 +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
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
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
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
d3246c5ae4 Merge branch 'v4main' into issue-1246-use-confighelper-in-tests 2022-03-22 15:43:48 +01:00
Alex Coseru
c01fb0756c
Feature/contracts alpha 25 (#1358)
* bump to contracts alpha 26

* update gasFeeMultiplier
2022-03-21 14:40:34 +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
7ca5000a66
use barge addresses for unit tests (#1291) 2022-02-15 18:14:11 +02:00
mihaisc
6f12e28ada
fix redundancy (#1278)
* fix redundancy

* convert to wei fixed price

* fix test
2022-02-11 04:45:15 -08: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
Alex Coseru
9174baa3c0
Barge c2d & latest contracts bump (#1248)
* bump to latest contracts
2022-02-09 11:32:54 +02: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
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
mihaisc
56a3aad20d
heleper+ remove old ibs (#1238)
* heleper+ remove old ibs

* fix tests

* fix gaslimt

* fix approve

* fix

* remove console.log

* upate package-lock
2022-01-25 08:32:55 -08:00
Bogdan Fazakas
5cb548ca59
replaced local artifacts with the published ones (#1232) 2022-01-20 04:39:58 -08:00
Bogdan Fazakas
69432720f0 put back baseToken instead of basetoken 2022-01-19 09:48:23 +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
Bogdan Fazakas
a6504626fd use old name for nft files for case sensitivity 2021-12-09 13:55:23 +02:00