From 8b0df655e80de2a8dbae9726073047a02772bd64 Mon Sep 17 00:00:00 2001 From: bumi Date: Thu, 19 Apr 2018 00:23:28 +0200 Subject: [PATCH] Remove debug logs The classes from the library should be less noisy --- lib/contracts/contributor.js | 1 - lib/contracts/operator.js | 1 - lib/kredits.js | 3 --- 3 files changed, 5 deletions(-) diff --git a/lib/contracts/contributor.js b/lib/contracts/contributor.js index 4249d48..127e2dc 100644 --- a/lib/contracts/contributor.js +++ b/lib/contracts/contributor.js @@ -49,7 +49,6 @@ class Contributor extends Base { contributorAttr.isCore, ]; - console.log('[kredits] addContributor', ...contributor); return this.functions.addContributor(...contributor); }); } diff --git a/lib/contracts/operator.js b/lib/contracts/operator.js index 3887f0f..bcb31b8 100644 --- a/lib/contracts/operator.js +++ b/lib/contracts/operator.js @@ -49,7 +49,6 @@ class Operator extends Base { ipfsHashAttr.hashSize, ]; - console.log('[kredits] addProposal', ...proposal); return this.functions.addProposal(...proposal); }); } diff --git a/lib/kredits.js b/lib/kredits.js index f1238fb..33bbe8b 100644 --- a/lib/kredits.js +++ b/lib/kredits.js @@ -80,7 +80,6 @@ class Kredits { } }); let abi = abis['Registry']; - console.log('Initialize registry contract:', address, abi, provider); return new ethers.Contract(address, abi, provider); } @@ -111,8 +110,6 @@ class Kredits { } let contractName = capitalize(name); - console.log(contractName); - console.log(contracts); let address = this.addresses[contractName]; if (!address || !abis[contractName]) { throw new Error(`Address or ABI not found for ${contractName}`);