From 5125cb06f726600cefe9669a3020732a1773d422 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Tue, 7 Aug 2018 16:18:40 -0400 Subject: [PATCH] hide contracts from dashboard when silent --- lib/contracts/contracts.js | 3 +++ lib/modules/ens/index.js | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/contracts/contracts.js b/lib/contracts/contracts.js index 8348668fb..fced60d9b 100644 --- a/lib/contracts/contracts.js +++ b/lib/contracts/contracts.js @@ -400,6 +400,9 @@ class ContractsManager { for (let className in this.contracts) { let contract = this.contracts[className]; + if (contract.silent) { + continue; + } let contractData; diff --git a/lib/modules/ens/index.js b/lib/modules/ens/index.js index 0bf2f23e6..f59542217 100644 --- a/lib/modules/ens/index.js +++ b/lib/modules/ens/index.js @@ -210,7 +210,13 @@ class ENS { configureContracts() { const config = { "default": { - "gas": "auto" + "gas": "auto", + "contracts": { + "ENS": { + "deploy": false, + "silent": true + } + } }, "development": { "contracts": {