diff --git a/package.json b/package.json index e569796..d11c236 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "toucan-sdk", - "version": "0.1.5-beta", + "version": "0.1.6-beta", "description": "A JavaScript SDK for Toucan Protocol. Works in the web browser and Node.js.", "main": "./dist/index.js", "scripts": { diff --git a/src/subclasses/ContractInteractions.ts b/src/subclasses/ContractInteractions.ts index c30dedd..4dbae2a 100644 --- a/src/subclasses/ContractInteractions.ts +++ b/src/subclasses/ContractInteractions.ts @@ -33,7 +33,6 @@ import { import { Network, PoolSymbol } from "../types"; import { GAS_LIMIT } from "../utils"; import { - offsetHelperABI, poolTokenABI, tco2ABI, toucanContractRegistryABI, @@ -638,12 +637,7 @@ class ContractInteractions { public getOffsetHelperContract = ( signerOrProvider: ethers.Signer | ethers.providers.Provider ): OffsetHelper => { - const offsetHelper = new ethers.Contract( - this.addresses.offsetHelper, - offsetHelperABI, - signerOrProvider - ) as OffsetHelper; - return offsetHelper; + throw new Error("OffsetHelper is not supported yet"); }; } diff --git a/test/index.test.ts b/test/index.test.ts index c63b6f4..05c6768 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -99,7 +99,7 @@ describe("Testing Toucan-SDK contract interactions", function () { }); }); - describe("Testing OffsetHelper related methods", function () { + describe.skip("Testing OffsetHelper related methods", function () { it("Should retire 1 TCO2 using pool token deposit", async function () { const pool = await toucan.getPoolContract("NCT");