Skip to content

Commit

Permalink
Issue #86 (#91)
Browse files Browse the repository at this point in the history
* Issue #86

* Issue #86

* Issue #86

* Issue #86
  • Loading branch information
DVitaliy authored May 21, 2024
1 parent ce4d0ba commit 56ce92c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions src/contracts/configs/BinanceTest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ export const BinanceTestChainConfig: TChainConfig = {
nameVersion: "[email protected]"
},
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",
Expand All @@ -81,8 +81,8 @@ export const BinanceTestChainConfig: TChainConfig = {
nameVersion: "[email protected]"
},
tokenNFTConnector: {
address: "0x0eED0587CE09C037aF79e340e3e2e53A09f81a52",
nameVersion: "TokenNFTConnector@1.1.0",
address: "0x99dfade11d9cd4c2b192efda205c50d982cd76a1",
nameVersion: "TokenNFTConnector@1.2.1",
proxy: "0xF0f16f6A66462955cC9A1bAAaC0a801A5671be35"
}
}
12 changes: 11 additions & 1 deletion tests/ThePoolz.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,17 @@ 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
}
const thePoolz = new ThePoolz("http://localhost:8545", { chainInfo, poolzAddress: "0x000" })
await thePoolz.init()
expect(thePoolz.CPoolx?.address).toEqual("0x000")
})
Expand Down

0 comments on commit 56ce92c

Please sign in to comment.