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

595 Commits

Author SHA1 Message Date
Jamie Hewitt
8c9e46a8dd Adding estimate gas method and fixing tests 2022-04-21 15:14:32 +02:00
Jamie Hewitt
4eefc083e2 Updating user addresses 2022-04-21 12:58:31 +02:00
Jamie Hewitt
a81cdddc30 Updating tests 2022-04-21 12:48:28 +02:00
Jamie Hewitt
74f4642ad0 Adding additional assert statements 2022-04-21 12:22:31 +02:00
Jamie Hewitt
d996625809 Updating assert statements 2022-04-21 11:47:47 +02:00
Jamie Hewitt
5cedb37d80 Adding additional assert to tests 2022-04-21 11:18:45 +02:00
Jamie Hewitt
257d1aeeea Adding extra test 2022-04-20 16:44:15 +02:00
Bogdan Fazakas
f96ccb0c56
Add reuseOrder method (#1421)
* added reuseOrder method

* wip add test to reuseOrder

* update test

* check also ProviderFee event
2022-04-20 16:42:07 +03:00
Jamie Hewitt
ee90d58cde Fix linting 2022-04-20 15:24:33 +02:00
Jamie Hewitt
44db9db5a4 Writting tests for setPublishingMarketFee 2022-04-20 14:42:51 +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
Miquel A. Cabot
4270a63991 remove duplicated test 2022-04-16 23:39:09 +02:00
Bogdan Fazakas
ec601a66d2
Fix get compute results (#1386)
* wip special chars

* clean ups

* update sha256 import from cryptojs lib

* update compute result and use alpha-26 contracts

* re-build with package-lock v1 and with dist

* ignore build files from dist

* delete build files

* removed console logs and updated ComputeResultType typing

* update compute integration test

* added more tests

* added some logs

* update file download method

* use fetch data

* remove download part

* delete console logs

* review fixes

* more fixes

Co-authored-by: Soon Huat <soon_huat.phan@daimler.com>
2022-04-14 23:58:25 +01: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
689823d281 uncomment and fix broken tests 2022-04-14 09:17:44 +02:00
Miquel A. Cabot
d73790d775 uncomment assert 2022-04-13 16:13:02 +02:00
Miquel A. Cabot
8f20f4b808 add previously deleted assert 2022-04-13 16:09:04 +02:00
Miquel A. Cabot
4b50824162 update SideStaking import 2022-04-12 11:33:27 +02:00
Miquel A. Cabot
8172abec23 update router import 2022-04-12 11:33:14 +02:00
Miquel A. Cabot
e3de191982 update SideStaking import 2022-04-12 11:32:14 +02:00
Miquel A. Cabot
f378fc1a8c Merge branch 'v4main' into issue-1350-rewrite-dispenser-test 2022-04-12 09:52:56 +02:00
Miquel A. Cabot
15ce86bca4 Merge branch 'v4main' into issue-1352-rewrite-sidestaking-test 2022-04-12 09:52:39 +02:00
Miquel A. Cabot
32b713a35b Merge branch 'v4main' into issue-1346-rewrite-datatoken-test 2022-04-12 09:48:30 +02:00
Miquel A. Cabot
4b96497089 Merge branch 'v4main' into issue-1347-rewrite-nft-test 2022-04-12 09:48:14 +02:00
Miquel A. Cabot
962340b0db Merge branch 'v4main' into issue-1348-rewrite-nftfactory-test 2022-04-12 09:47:57 +02:00
Miquel A. Cabot
99c550afa6 refactor constants 2022-04-11 12:57:04 +02:00
Miquel A. Cabot
065d3998f8 remove abi imports 2022-04-11 12:32:33 +02:00
Miquel A. Cabot
9b40f91f07 remove unused variables 2022-04-11 12:31:23 +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
508e1379bc refactor ercparams constant 2022-04-07 20:52:04 +02:00
Miquel A. Cabot
e2df76fb90 refeactor freCreationParams constant 2022-04-07 20:46:27 +02:00
Miquel A. Cabot
3e2efc0ef6 refactor ercParams const 2022-04-07 20:43:00 +02:00
Miquel A. Cabot
b7d5f66d6c refactor constants 2022-04-07 19:24:16 +02:00
Miquel A. Cabot
f71834f493 refactor dai and usdc checks 2022-04-07 19:10:12 +02:00
Miquel A. Cabot
b9c9ad86ae remove abi imports 2022-04-07 19:02:18 +02:00
Miquel A. Cabot
bd3bb4dbcd remove unused variables 2022-04-07 18:53:18 +02:00
Miquel A. Cabot
ecaf7ec30e Merge branch 'v4main' into issue-1353-rewrite-router-test 2022-04-06 17:20:00 +02:00
Miquel A. Cabot
f4ea396e28 Merge branch 'v4main' into issue-1346-rewrite-datatoken-test 2022-04-06 17:18:17 +02:00
Miquel A. Cabot
4e1a79ac21 solve problem with NftCreateData constant 2022-04-06 17:03:50 +02:00
Miquel A. Cabot
12093b94e1 Merge branch 'v4main' into issue-1347-rewrite-nft-test 2022-04-06 16:52:53 +02:00
Miquel A. Cabot
050edc4081 Merge branch 'v4main' into issue-1348-rewrite-nftfactory-test 2022-04-06 16:42:54 +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
1aa678ed4d standarize DAI amount 2022-04-03 09:08:29 +02:00
Miquel A. Cabot
fb937cdd21 fix assert error in Pool 2022-04-03 09:07:34 +02:00
Miquel A. Cabot
bbbc64fb5e fix lint errors 2022-03-31 23:44:52 +02:00
Miquel A. Cabot
08552eb446 refactor constants 2022-03-31 23:43:32 +02:00