Merge pull request #275 from nathanph/develop

Update solc from 0.4.8 to 0.4.11
This commit is contained in:
Iuri Matias 2017-06-03 08:41:02 -04:00 committed by GitHub
commit f5b0c4d2a7
6 changed files with 16 additions and 9 deletions

View File

@ -9,7 +9,7 @@
"license": "ISC", "license": "ISC",
"homepage": "", "homepage": "",
"devDependencies": { "devDependencies": {
"embark": "^2.4.0", "embark": "^2.4.3",
"mocha": "^2.2.5" "mocha": "^2.2.5"
} }
} }

View File

@ -10,7 +10,7 @@
"license": "ISC", "license": "ISC",
"homepage": "", "homepage": "",
"devDependencies": { "devDependencies": {
"embark": "^2.4.1", "embark": "^2.4.3",
"mocha": "^2.2.5" "mocha": "^2.2.5"
} }
} }

View File

@ -60,7 +60,7 @@ author = u'Iuri Matias'
# The short X.Y version. # The short X.Y version.
version = u'2.4' version = u'2.4'
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
release = u'2.4.0' release = u'2.4.3'
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.

View File

@ -85,8 +85,15 @@ class Compiler {
let compiled_object = {}; let compiled_object = {};
for (let className in json) { for (let contractName in json) {
let contract = json[className]; let contract = json[contractName];
// Pull out filename:classname
// [0] filename:classname
// [1] filename
// [2] classname
const regex = /(.*):(.*)/;
const className = contractName.match(regex)[2];
compiled_object[className] = {}; compiled_object[className] = {};
compiled_object[className].code = contract.bytecode; compiled_object[className].code = contract.bytecode;

View File

@ -1,6 +1,6 @@
{ {
"name": "embark", "name": "embark",
"version": "2.4.0", "version": "2.4.3",
"description": "Embark is a framework that allows you to easily develop and deploy DApps", "description": "Embark is a framework that allows you to easily develop and deploy DApps",
"scripts": { "scripts": {
"test": "grunt jshint && mocha test/ --no-timeouts" "test": "grunt jshint && mocha test/ --no-timeouts"
@ -29,7 +29,7 @@
"promptly": "^2.1.0", "promptly": "^2.1.0",
"serve-static": "^1.11.1", "serve-static": "^1.11.1",
"shelljs": "^0.5.0", "shelljs": "^0.5.0",
"solc": "0.4.8", "solc": "0.4.11",
"toposort": "^1.0.0", "toposort": "^1.0.0",
"underscore": "^1.8.3", "underscore": "^1.8.3",
"underscore.string": "^3.3.4", "underscore.string": "^3.3.4",

File diff suppressed because one or more lines are too long