From cce62937b266fcbb70fd7cc334d1c6918606c13d Mon Sep 17 00:00:00 2001 From: rouzwelt Date: Sun, 24 Nov 2024 01:46:46 +0000 Subject: [PATCH] update sushi lib --- lib/sushiswap | 2 +- package-lock.json | 5 +---- test/e2e/data.js | 13 ++++++++++++- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/lib/sushiswap b/lib/sushiswap index ecab9c62..ad2600a8 160000 --- a/lib/sushiswap +++ b/lib/sushiswap @@ -1 +1 @@ -Subproject commit ecab9c62533e2f5287d7a152ccd3eb60f4e6f7e7 +Subproject commit ad2600a820257229183e4fd82dbe4a7973f09dc4 diff --git a/package-lock.json b/package-lock.json index 42d9673a..221431f6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14263,7 +14263,6 @@ "hasInstallScript": true, "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "node-addon-api": "^2.0.0", "node-gyp-build": "^4.2.0" @@ -14893,8 +14892,7 @@ "version": "2.0.2", "dev": true, "inBundle": true, - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/ganache-core/node_modules/node-fetch": { "version": "2.1.2", @@ -14910,7 +14908,6 @@ "dev": true, "inBundle": true, "license": "MIT", - "peer": true, "bin": { "node-gyp-build": "bin.js", "node-gyp-build-optional": "optional.js", diff --git a/test/e2e/data.js b/test/e2e/data.js index 95ee254c..8deebba9 100644 --- a/test/e2e/data.js +++ b/test/e2e/data.js @@ -23,6 +23,12 @@ module.exports = [ decimals: 18, symbol: "IOEN", }), + new Token({ + chainId: ChainId.POLYGON, + address: "0x874e178A2f3f3F9d34db862453Cd756E7eAb0381", + decimals: 18, + symbol: "GFI", + }), ], // addresses with token balance, in order with specified tokens @@ -30,11 +36,16 @@ module.exports = [ "0xdF906eA18C6537C6379aC83157047F507FB37263", "0xe7804c37c13166fF0b37F5aE0BB07A3aEbb6e245", "0xdFB5396f06bE50eAA745094ff51d272C292cc218", + "0x9294132f9d423b0FD5823aB400133d814fe73016", ], // liq providers to use for test // ideally specify at least one for each univ2 and univ3 protocols - [LiquidityProviders.QuickSwapV2, LiquidityProviders.QuickSwapV3], + [ + LiquidityProviders.QuickSwapV2, + LiquidityProviders.QuickSwapV3, + LiquidityProviders.GravityFinance, + ], // deposist amounts per token pair order ["1", "100", "100"],