From 78d33a24656c9592b4ea7b9fb1bcdb931374cee4 Mon Sep 17 00:00:00 2001 From: Aaron DeRuvo Date: Thu, 21 Mar 2024 16:05:41 +0300 Subject: [PATCH] remove debug logs --- packages/cli/src/commands/governance/propose.test.ts | 2 +- packages/sdk/governance/src/proposals.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/cli/src/commands/governance/propose.test.ts b/packages/cli/src/commands/governance/propose.test.ts index b358bc9eb..b512bdd16 100644 --- a/packages/cli/src/commands/governance/propose.test.ts +++ b/packages/cli/src/commands/governance/propose.test.ts @@ -397,7 +397,7 @@ testWithGanache('governance:propose cmd', (web3: Web3) => { ) }) - test.only('succeeds when proposal contains transactions for contracts verified on celoScan', async () => { + test('succeeds when proposal contains transactions for contracts verified on celoScan', async () => { const transactionsToBeSaved = JSON.stringify(transactionsForContractsVerifiedOnCeloScan) fs.writeFileSync('transactions2.json', transactionsToBeSaved, { flag: 'w' }) await testLocally(Propose, [ diff --git a/packages/sdk/governance/src/proposals.ts b/packages/sdk/governance/src/proposals.ts index 9c3ae2c53..a515e32c6 100644 --- a/packages/sdk/governance/src/proposals.ts +++ b/packages/sdk/governance/src/proposals.ts @@ -443,13 +443,11 @@ export class ProposalBuilder { console.log(tx.address + ' is a proxy, repointing to ' + tx.args[0]) this.externalCallProxyRepoint.set(tx.address || tx.contract, tx.args[0] as string) } - console.error('Building transaction for', tx) const strategies = [this.buildCallToCoreContract, this.buildCallToExternalContract] for (const strategy of strategies) { try { return await strategy(tx) } catch (e) { - console.error('HELP', e) debug("Couldn't build transaction with strategy %s: %O", strategy.name, e) } }