Skip to content

Commit

Permalink
Remove unnecessery comment
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsmiarowski committed Jan 30, 2024
1 parent c037c30 commit 97312f8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions solidity-v1/dashboard/src/contracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,11 @@ import {
KEEP_TOKEN_GEYSER_CONTRACT_NAME,
LP_REWARDS_TBTCV2_SADDLE_CONTRACT_NAME,
LP_REWARDS_TBTCV2_SADDLEV2_CONTRACT_NAME,
ASSET_POOL_CONTRACT_NAME,
} from "./constants/constants"

import KeepLib from "./lib/keep"
import { Web3jsWrapper } from "./lib/web3"
import { getChainId, getWsUrl } from "./connectors/utils.js"
import { ExplorerModeConnector } from "./connectors/explorer-mode-connector"

const CONTRACT_DEPLOYMENT_BLOCK_CACHE = {}

Expand Down Expand Up @@ -248,6 +246,9 @@ export async function getContracts(web3, netId) {
throw new Error("Please connect to the appropriate Ethereum network.")
}

// TODO: This was commented out because it didn't work with the wallet connect
// v2 connector. This should be investigated before the merge.

// if (ContractsLoaded.isFulfilled()) {
// console.log("if fulfilled")
// const existingContracts = await ContractsLoaded
Expand Down Expand Up @@ -295,8 +296,6 @@ export async function getContracts(web3, netId) {
{ contractName: OLD_TOKEN_STAKING_CONTRACT_NAME }
)

console.log("heheszek: ", web3Contracts[OLD_TOKEN_STAKING_CONTRACT_NAME])

resovleContractsDeferred(web3Contracts)
return web3Contracts
}
Expand Down

0 comments on commit 97312f8

Please sign in to comment.