gnosis / pm-contracts

Collection of smart contracts for the Gnosis prediction market platform.
https://www.gnosis.pm
GNU Lesser General Public License v3.0
177 stars 56 forks source link

An in-range update of @gnosis.pm/util-contracts is breaking the build 🚨 #166

Closed greenkeeper[bot] closed 5 years ago

greenkeeper[bot] commented 5 years ago

The dependency @gnosis.pm/util-contracts was updated from 2.0.0-alpha.3 to 2.0.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@gnosis.pm/util-contracts is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details - ❌ **continuous-integration/travis-ci/push:** The Travis CI build failed ([Details](https://travis-ci.org/gnosis/pm-contracts/builds/490173784?utm_source=github_status&utm_medium=notification)).

Commits

The new version differs by 43 commits ahead by 43, behind by 14.

There are 43 commits in total.

See the full diff

FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree:

greenkeeper[bot] commented 5 years ago

After pinning to 2.0.0-alpha.3 your tests are still failing. The reported issue might not affect your project. These imprecisions are caused by inconsistent test results.

Muhammad-Altabba commented 5 years ago

When executing npm run migrate according to https://github.com/gnosis/pm-js, the terminal output:

> @gnosis.pm/pm-contracts@1.2.0 migrate /projects/pm-contracts
> truffle migrate

Error: Could not find @gnosis.pm/util-contracts/contracts/Fixed192x64Math.sol from any sources; imported from /projects/pm-contracts/contracts/MarketMakers/LMSRMarketMaker.sol
    at /projects/pm-contracts/node_modules/truffle/build/webpack:/packages/truffle-resolver/index.js:76:1
    at /projects/pm-contracts/node_modules/truffle/build/webpack:/~/async/internal/onlyOnce.js:12:1
    at next (/projects/pm-contracts/node_modules/truffle/build/webpack:/~/async/whilst.js:68:1)
    at /projects/pm-contracts/node_modules/truffle/build/webpack:/packages/truffle-resolver/index.js:64:1
    at /projects/pm-contracts/node_modules/truffle/build/webpack:/packages/truffle-resolver/fs.js:85:1
    at /projects/pm-contracts/node_modules/truffle/build/webpack:/~/async/internal/once.js:12:1
    at replenish (/projects/pm-contracts/node_modules/truffle/build/webpack:/~/async/internal/eachOfLimit.js:61:1)
    at iterateeCallback (/projects/pm-contracts/node_modules/truffle/build/webpack:/~/async/internal/eachOfLimit.js:50:1)
    at /projects/pm-contracts/node_modules/truffle/build/webpack:/~/async/internal/onlyOnce.js:12:1
    at ReadFileContext.callback (/projects/pm-contracts/node_modules/truffle/build/webpack:/packages/truffle-resolver/fs.js:81:1)
    at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:367:13)

npm ERR! Linux 4.13.0-16-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "migrate"
npm ERR! node v6.11.4
npm ERR! npm  v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! @gnosis.pm/pm-contracts@1.2.0 migrate: `truffle migrate`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @gnosis.pm/pm-contracts@1.2.0 migrate script 'truffle migrate'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the @gnosis.pm/pm-contracts package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     truffle migrate
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs @gnosis.pm/pm-contracts
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls @gnosis.pm/pm-contracts
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /projects/pm-contracts/npm-debug.log

The content of npm-debug.log is:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'migrate' ]
2 info using npm@3.5.2
3 info using node@v6.11.4
4 verbose run-script [ 'premigrate', 'migrate', 'postmigrate' ]
5 info lifecycle @gnosis.pm/pm-contracts@1.2.0~premigrate: @gnosis.pm/pm-contracts@1.2.0
6 silly lifecycle @gnosis.pm/pm-contracts@1.2.0~premigrate: no script for premigrate, continuing
7 info lifecycle @gnosis.pm/pm-contracts@1.2.0~migrate: @gnosis.pm/pm-contracts@1.2.0
8 verbose lifecycle @gnosis.pm/pm-contracts@1.2.0~migrate: unsafe-perm in lifecycle true
9 verbose lifecycle @gnosis.pm/pm-contracts@1.2.0~migrate: PATH: /usr/share/npm/bin/node-gyp-bin:/projects/pm-contracts/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
10 verbose lifecycle @gnosis.pm/pm-contracts@1.2.0~migrate: CWD: /projects/pm-contracts
11 silly lifecycle @gnosis.pm/pm-contracts@1.2.0~migrate: Args: [ '-c', 'truffle migrate' ]
12 silly lifecycle @gnosis.pm/pm-contracts@1.2.0~migrate: Returned: code: 1  signal: null
13 info lifecycle @gnosis.pm/pm-contracts@1.2.0~migrate: Failed to exec migrate script
14 verbose stack Error: @gnosis.pm/pm-contracts@1.2.0 migrate: `truffle migrate`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (/usr/share/npm/lib/utils/lifecycle.js:232:16)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at EventEmitter.emit (events.js:191:7)
14 verbose stack     at ChildProcess.<anonymous> (/usr/share/npm/lib/utils/spawn.js:24:14)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at ChildProcess.emit (events.js:191:7)
14 verbose stack     at maybeClose (internal/child_process.js:920:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
15 verbose pkgid @gnosis.pm/pm-contracts@1.2.0
16 verbose cwd /projects/pm-contracts
17 error Linux 4.13.0-16-generic
18 error argv "/usr/bin/node" "/usr/bin/npm" "run" "migrate"
19 error node v6.11.4
20 error npm  v3.5.2
21 error code ELIFECYCLE
22 error @gnosis.pm/pm-contracts@1.2.0 migrate: `truffle migrate`
22 error Exit status 1
23 error Failed at the @gnosis.pm/pm-contracts@1.2.0 migrate script 'truffle migrate'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the @gnosis.pm/pm-contracts package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     truffle migrate
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs @gnosis.pm/pm-contracts
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls @gnosis.pm/pm-contracts
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
greenkeeper[bot] commented 5 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 4 commits.

See the full diff

Muhammad-Altabba commented 5 years ago

Hello @InfiniteStyles, Could you please review and merge the pull request https://github.com/gnosis/pm-contracts/pull/170 that should resolve this open issue? Thanks,

cag commented 5 years ago

This should be resolved now. Thanks for the help!