ethershell 0.2.3-beta.0 → 0.2.4-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/services/configSync.js +13 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ethershell",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.4-beta.0",
|
|
5
5
|
"description": "Interactive JavaScript console for Ethereum smart contract management",
|
|
6
6
|
"author": "Alireza Kiakojouri (alirezaethdev@gmail.com)",
|
|
7
7
|
"repository": {
|
|
@@ -70,7 +70,17 @@ let storedCompConfig;
|
|
|
70
70
|
* Object containing properties of config file
|
|
71
71
|
* @type {Object}
|
|
72
72
|
*/
|
|
73
|
-
let configObj
|
|
73
|
+
let configObj = {
|
|
74
|
+
providerEndpoint: "http://127.0.0.1:8545",
|
|
75
|
+
defaultWallet: {},
|
|
76
|
+
compiler: {
|
|
77
|
+
version: "v0.8.29+commit.ab55807c",
|
|
78
|
+
optimizer: false,
|
|
79
|
+
viaIR: false,
|
|
80
|
+
optimizerRuns: 200,
|
|
81
|
+
compilePath: "./build"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
74
84
|
|
|
75
85
|
// 1) Load config file
|
|
76
86
|
/**
|
|
@@ -101,7 +111,8 @@ if(storedUrl) {
|
|
|
101
111
|
|
|
102
112
|
// 3) Set Compiler to Memory:
|
|
103
113
|
// Initialize global configuration of compiler
|
|
104
|
-
if(storedCompConfig){
|
|
114
|
+
// if(storedCompConfig){
|
|
115
|
+
if(false){
|
|
105
116
|
configFile.compiler = storedCompConfig.compiler;
|
|
106
117
|
console.info(`Compiler is loading ...`);
|
|
107
118
|
compConfig.currentSolcInstance = await loadSolcVersion(configFile.compiler.version);
|