Skip to content

Commit

Permalink
Merge pull request #68 from lazaralex98/alexlazar/blu-3482-redeployed…
Browse files Browse the repository at this point in the history
…-offset-helper

chore: disable offset helper
  • Loading branch information
mauricedesaxe authored Jan 4, 2023
2 parents c9e0a52 + c5e7fd8 commit 5762002
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
8 changes: 1 addition & 7 deletions src/subclasses/ContractInteractions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import {
import { Network, PoolSymbol } from "../types";
import { GAS_LIMIT } from "../utils";
import {
offsetHelperABI,
poolTokenABI,
tco2ABI,
toucanContractRegistryABI,
Expand Down Expand Up @@ -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");
};
}

Expand Down
2 changes: 1 addition & 1 deletion test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit 5762002

Please sign in to comment.