diff --git a/modules/contracts/eth-sdk.config.ts b/modules/contracts/eth-sdk.config.ts index 1211cfde9..c1ad90801 100644 --- a/modules/contracts/eth-sdk.config.ts +++ b/modules/contracts/eth-sdk.config.ts @@ -54,7 +54,7 @@ const config: EthSdkConfig = { pollingOld: '0xF9be8F0945acDdeeDaA64DFCA5Fe9629D0CF8E5D', pot: '0x197E90f9FAD81970bA7976f33CbD77088E5D7cf7', vat: '0x35D1b3F3D7966A1DFe207aa4514C12a259A0492B', - voteDelegateFactory: '0xC3D809E87A2C9da4F6d98fECea9135d834d6F5A0', + voteDelegateFactory: '0x093d305366218d6d09ba10448922f10814b031dd', voteDelegateFactoryOld: '0xD897F108670903D1d6070fcf818f9db3615AF272', voteProxyFactory: '0x6FCD258af181B3221073A96dD90D1f7AE7eEc408', voteProxyFactoryOld: '0xa63E145309cadaa6A903a19993868Ef7E85058BE', diff --git a/modules/web3/helpers/getContracts.ts b/modules/web3/helpers/getContracts.ts index 3d48c4f29..05ab4c92c 100644 --- a/modules/web3/helpers/getContracts.ts +++ b/modules/web3/helpers/getContracts.ts @@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later */ -import { getMainnetSdk } from '@dethcrypto/eth-sdk-client'; +import { getMainnetSdk, getTenderlySdk } from '@dethcrypto/eth-sdk-client'; import { providers } from 'ethers'; import { CHAIN_INFO, DEFAULT_NETWORK } from '../constants/networks'; import { SupportedChainId } from '../constants/chainID'; @@ -17,7 +17,7 @@ import { EthSdk, SdkGenerators } from '../types/contracts'; const sdkGenerators: SdkGenerators = { mainnet: getMainnetSdk, - tenderly: getMainnetSdk + tenderly: getTenderlySdk }; let connectedAccount: string | undefined; diff --git a/modules/web3/helpers/getReadOnlyContracts.ts b/modules/web3/helpers/getReadOnlyContracts.ts index 9b10e8f31..2dee30926 100644 --- a/modules/web3/helpers/getReadOnlyContracts.ts +++ b/modules/web3/helpers/getReadOnlyContracts.ts @@ -7,13 +7,13 @@ SPDX-License-Identifier: AGPL-3.0-or-later */ import { providers } from 'ethers'; -import { getMainnetSdk } from '@dethcrypto/eth-sdk-client'; +import { getMainnetSdk, getTenderlySdk } from '@dethcrypto/eth-sdk-client'; import { SupportedNetworks } from '../constants/networks'; import { EthSdk, SdkGenerators } from '../types/contracts'; const sdkGenerators: SdkGenerators = { mainnet: getMainnetSdk, - tenderly: getMainnetSdk + tenderly: getTenderlySdk }; let currentNetwork: string | undefined;