Can't deploy the following contract https://github.com/JefStat/prediction_market_dapp/blob/master/contracts/PredictionMarket.sol no matter the amount of gas being sent with the transaction.
Testrpc is started as follows
testrpc --accounts 3 --port 8546 --gasLimit 1111115141592
I expect the contract to deploy like it does on a custom network
Deploying the contract causing the following stacktrace
Error: VM Exception while executing transaction: invalid JUMP
at /usr/lib/node_modules/ethereumjs-testrpc/lib/blockchain.js:528:18
at Object.async.eachSeries (/usr/lib/node_modules/ethereumjs-testrpc/node_modules/async-eventemitter/node_modules/async/lib/async.js:130:20)
at VM.AsyncEventEmitter.emit (/usr/lib/node_modules/ethereumjs-testrpc/node_modules/async-eventemitter/lib/AsyncEventEmitter.js:42:9)
at afterBlock (/usr/lib/node_modules/ethereumjs-testrpc/node_modules/ethereumjs-vm/lib/runBlock.js:55:10)
at /usr/lib/node_modules/ethereumjs-testrpc/node_modules/ethereumjs-vm/lib/runBlock.js:179:9
at /usr/lib/node_modules/ethereumjs-testrpc/node_modules/ethereumjs-vm/lib/cache.js:107:7
at /usr/lib/node_modules/ethereumjs-testrpc/node_modules/async/lib/async.js:52:16
at iterate (/usr/lib/node_modules/ethereumjs-testrpc/node_modules/async/lib/async.js:260:24)
at Object.async.forEachOfSeries.async.eachOfSeries (/usr/lib/node_modules/ethereumjs-testrpc/node_modules/async/lib/async.js:281:9)
at Object.async.forEachSeries.async.eachSeries (/usr/lib/node_modules/ethereumjs-testrpc/node_modules/async/lib/async.js:214:22)
truffle deploy -e testTrying to get some unit test on this contract running
Problem was a bug in the contract. New user error
For those who land here later, a parent contract constructor was calling a function, which had a modifier, which was throwing an exception.
Most helpful comment
For those who land here later, a parent contract constructor was calling a function, which had a modifier, which was throwing an exception.