Skip to content

Commit

Permalink
bump default solidiy version
Browse files Browse the repository at this point in the history
  • Loading branch information
yann300 committed Aug 28, 2019
1 parent 5fda962 commit 4b7be64
Show file tree
Hide file tree
Showing 6 changed files with 173 additions and 143 deletions.
8 changes: 7 additions & 1 deletion ci/makeMockCompiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var fs = require('fs')
var compiler = require('solc')
var compilerInput = require('remix-solidity').CompilerInput
var defaultVersion = 'v0.5.1+commit.c8a2cb62'
var defaultVersion = 'v0.5.10+commit.5a6ea5b1'

compiler.loadRemoteVersion(defaultVersion, (error, solcSnapshot) => {
if (error) console.log(error)
Expand Down Expand Up @@ -44,6 +44,12 @@ function compile (solcSnapshot, source, optimization, addCompilationResult) {
} catch (e) {
console.log(e)
}
if (result && (result.error || (result.errors && result.errors.length > 0))) {
console.log(result.error, result.errors)
}
if (result) {
console.log(result.error, result.errors)
}
var ret = {
key: input,
source: source,
Expand Down
1 change: 1 addition & 0 deletions contracts/src/gmbh/company.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pragma solidity ^0.5.10;
import "./contract.sol";
contract Assets {
uint[] proposals;
Expand Down
Loading

0 comments on commit 4b7be64

Please sign in to comment.