From 5e4d2ccefe2afc8a0166082ae37446bb3a5d5b9e Mon Sep 17 00:00:00 2001 From: DVitaliy Date: Mon, 20 May 2024 22:09:02 +0200 Subject: [PATCH 1/4] Issue #86 --- src/contracts/configs/BinanceTest.config.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/contracts/configs/BinanceTest.config.ts b/src/contracts/configs/BinanceTest.config.ts index fcb3572..cb947e1 100644 --- a/src/contracts/configs/BinanceTest.config.ts +++ b/src/contracts/configs/BinanceTest.config.ts @@ -61,12 +61,12 @@ export const BinanceTestChainConfig: TChainConfig = { nameVersion: "RefundProvider@0.9.6" }, simpleBuilder: { - address: "0x06daa28410A8e26fC86DF3c3d2Cfb2875F4887e8", - nameVersion: "SimpleBuilder@0.9.1-ironblocks" + address: "0xaE297EeC7A7782e81CC23E6A3B6C06621B12dF26", + nameVersion: "SimpleBuilder@1.1.1" }, simpleRefundBuilder: { - address: "0x1C371DE722Bd7eCFA921AA9e3AD500c8fd9A64FC", - nameVersion: "SimpleRefundBuilder@0.9.5" + address: "0xC45C273Cf9aD9727f8b057C27E57253feF2c0ED6", + nameVersion: "SimpleRefundBuilder@1.1.1" }, multiSenderV2: { address: "0xaF2F6E827728a9e0288d69b0ea97Bd188DfBb3b1", @@ -81,8 +81,8 @@ export const BinanceTestChainConfig: TChainConfig = { nameVersion: "DelayVaultMigrator@0.9.1-ironblocks" }, tokenNFTConnector: { - address: "0x0eED0587CE09C037aF79e340e3e2e53A09f81a52", - nameVersion: "TokenNFTConnector@1.1.0", + address: "0x99dfade11d9cd4c2b192efda205c50d982cd76a1", + nameVersion: "TokenNFTConnector@1.2.1", proxy: "0xF0f16f6A66462955cC9A1bAAaC0a801A5671be35" } } From e9594d3bb9ca21f7497ceff35f0a20cb6781950d Mon Sep 17 00:00:00 2001 From: DVitaliy Date: Tue, 21 May 2024 10:31:57 +0200 Subject: [PATCH 2/4] Issue #86 --- tests/ThePoolz.test.ts | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/tests/ThePoolz.test.ts b/tests/ThePoolz.test.ts index a94de8b..2606eda 100644 --- a/tests/ThePoolz.test.ts +++ b/tests/ThePoolz.test.ts @@ -95,7 +95,37 @@ describe("ThePoolz", () => { }) test("Overrides config", async () => { - const thePoolz = new ThePoolz("http://localhost:8545", { poolzAddress: "0x000" }) + const chainInfo = { + name: "Test", + chain: "ETH", + nativeCurrency: { + name: "Ether", + symbol: "ETH", + decimals: 18 + }, + chainId: 1, + infoURL: "https://base.org", + explorers: [ + { + name: "basescan", + url: "https://basescan.org", + standard: "none" + }, + { + name: "basescout", + url: "https://base.blockscout.com", + icon: "blockscout", + standard: "EIP3091" + }, + { + name: "dexguru", + url: "https://base.dex.guru", + icon: "dexguru", + standard: "EIP3091" + } + ] + } + const thePoolz = new ThePoolz("http://localhost:8545", { chainInfo, poolzAddress: "0x000" }) await thePoolz.init() expect(thePoolz.CPoolx?.address).toEqual("0x000") }) From 99057091f49e472a16c7a0df42a05dfa62e56b06 Mon Sep 17 00:00:00 2001 From: DVitaliy Date: Tue, 21 May 2024 11:04:25 +0200 Subject: [PATCH 3/4] Issue #86 --- tests/ThePoolz.test.ts | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/tests/ThePoolz.test.ts b/tests/ThePoolz.test.ts index 2606eda..555a988 100644 --- a/tests/ThePoolz.test.ts +++ b/tests/ThePoolz.test.ts @@ -103,27 +103,7 @@ describe("ThePoolz", () => { symbol: "ETH", decimals: 18 }, - chainId: 1, - infoURL: "https://base.org", - explorers: [ - { - name: "basescan", - url: "https://basescan.org", - standard: "none" - }, - { - name: "basescout", - url: "https://base.blockscout.com", - icon: "blockscout", - standard: "EIP3091" - }, - { - name: "dexguru", - url: "https://base.dex.guru", - icon: "dexguru", - standard: "EIP3091" - } - ] + chainId: 1 } const thePoolz = new ThePoolz("http://localhost:8545", { chainInfo, poolzAddress: "0x000" }) await thePoolz.init() From 0ea7f65e1f64f1824b455ef3c5889ec3227b572a Mon Sep 17 00:00:00 2001 From: DVitaliy Date: Tue, 21 May 2024 11:11:34 +0200 Subject: [PATCH 4/4] Issue #86 --- .github/workflows/coverage.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 5219a1b..f516d1d 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -9,9 +9,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - fetch-depth: 0 - ref: master - uses: pnpm/action-setup@v3 name: Install pnpm