From 936afa74b52b9f9de51fd3bc799b56a33e2ab692 Mon Sep 17 00:00:00 2001 From: Yorke Rhodes Date: Fri, 5 Aug 2022 10:09:49 -0400 Subject: [PATCH] Bypass `NonceManager` in `getMultiProviderFromGCP` (#888) * Bypass nonce manager in getMultiProviderFromGCP * nit Co-authored-by: Trevor Porter --- typescript/infra/src/config/chain.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/typescript/infra/src/config/chain.ts b/typescript/infra/src/config/chain.ts index 688f333e5..8ee86d99e 100644 --- a/typescript/infra/src/config/chain.ts +++ b/typescript/infra/src/config/chain.ts @@ -1,5 +1,4 @@ import { Provider } from '@ethersproject/abstract-provider'; -import { NonceManager } from '@ethersproject/experimental'; import { ethers } from 'ethers'; import { StaticCeloJsonRpcProvider } from '@abacus-network/celo-ethers-provider'; @@ -32,6 +31,5 @@ export async function fetchSigner( provider: Provider, ) { const key = await getSecretDeployerKey(environment, context, chainName); - const wallet = new ethers.Wallet(key, provider); - return new NonceManager(wallet); + return new ethers.Wallet(key, provider); }