From 72b1c0a19f4ae6bd82fa9bce7d987807f3372910 Mon Sep 17 00:00:00 2001 From: Andrea Franz Date: Mon, 18 Nov 2019 10:48:34 +0100 Subject: [PATCH] update contracts configs --- apps/pos/config/contracts.js | 7 ++----- apps/wallet/config/contracts.js | 8 +------- network-contracts/config/contracts.js | 10 ++-------- 3 files changed, 5 insertions(+), 20 deletions(-) diff --git a/apps/pos/config/contracts.js b/apps/pos/config/contracts.js index c505783..1461847 100644 --- a/apps/pos/config/contracts.js +++ b/apps/pos/config/contracts.js @@ -49,7 +49,7 @@ module.exports = { // when not specified // - explicit will only attempt to deploy the contracts that are explicitly specified inside the // contracts section. - //strategy: 'implicit', + strategy: 'explicit', // minimalContractSize, when set to true, tells Embark to generate contract files without the heavy bytecodes // Using filteredFields lets you customize which field you want to filter out of the contract file (requires minimalContractSize: true) @@ -57,10 +57,7 @@ module.exports = { // filteredFields: [], contracts: { - // example: - //SimpleStorage: { - // args: [ 100 ] - //} + KeycardWalletFactory: {}, } }, diff --git a/apps/wallet/config/contracts.js b/apps/wallet/config/contracts.js index 4a51751..f321496 100644 --- a/apps/wallet/config/contracts.js +++ b/apps/wallet/config/contracts.js @@ -57,13 +57,7 @@ module.exports = { // filteredFields: [], contracts: { - KeycardWalletFactory: { - file: "../contracts/KeycardWalletFactory.sol" - }, - KeycardWallet: { - deploy: false, - file: "../contracts/KeycardWallet.sol" - } + KeycardWalletFactory: {}, } }, diff --git a/network-contracts/config/contracts.js b/network-contracts/config/contracts.js index 4a51751..6da7fba 100644 --- a/network-contracts/config/contracts.js +++ b/network-contracts/config/contracts.js @@ -57,14 +57,8 @@ module.exports = { // filteredFields: [], contracts: { - KeycardWalletFactory: { - file: "../contracts/KeycardWalletFactory.sol" - }, - KeycardWallet: { - deploy: false, - file: "../contracts/KeycardWallet.sol" - } - } + KeycardWalletFactory: {}, + }, }, // default environment, merges with the settings in default