Comments (4)
Can you clone the truffle repository from source, and then install from there? The non-released version of Truffle has the solc version bumped to 0.1.6.
$ npm uninstall -g truffle
$ git clone https://github.com/ConsenSys/truffle.git
$ cd truffle
$ npm install -g .
Should work for you. Will release a new version soon.
from truffle.
That seemed to work! π
I ran EtherSim (your version) and truffle test
on ether-crawler. Most tests passed, there was one exception at the end:
-> % truffle test
Using environment test.
Compiling contracts...
Contract: Challenge
β expects character, levels, and bet (167ms)
β lets you make an offer (85ms)
β lets player accept an offer, and initializes a game (424ms)
β doesn't blow up when you claim (122ms)
β pays out royalties to levels (592ms)
Contract: ChallengeRegistry
β should let you add a challenge (178ms)
Contract: Game
β loads the first level (398ms)
β stores extra information about monsters (347ms)
β stores information about adventurer (277ms)
β starts the adventurer in the upper left corner (284ms)
β lets adventurer move to an empty adjacent square (302ms)
β lets adventurer consume potion (326ms)
β doesn't let adventurer move onto walls (304ms)
β doesn't let adventurer move off the edge of the world (265ms)
1) sends adventurer to the next level if they enter a staircase
β attacks monster if adventurer tries to move onto it (354ms)
β lets player equip swords (528ms)
β kills monster when it drops below 0hp (380ms)
β levels adventurer up when they kill monster (387ms)
β moves monsters when player moves (375ms)
β attacks when player is adjacent (360ms)
β lets player equip shields (487ms)
β ends game if player goes to 0hp (381ms)
β lets you get all squares (597ms)
Contract: Level
β should let you add a staircase (47ms)
Contract: LevelRegistry
β should let you add a level (46ms)
β should let you get all levels at once (48ms)
26 passing (15s)
1 failing
1) Contract: Game sends adventurer to the next level if they enter a staircase:
TypeError: Cannot read property 'binary' of undefined
at _new (node_modules/ether-pudding/build/ether-pudding.js:86:18)
at tryCatcher (node_modules/bluebird/js/main/util.js:26:23)
at Promise._settlePromiseFromHandler (node_modules/bluebird/js/main/promise.js:507:31)
at Promise._settlePromiseAt (node_modules/bluebird/js/main/promise.js:581:18)
at Promise._settlePromises (node_modules/bluebird/js/main/promise.js:697:14)
at Async._drainQueue (node_modules/bluebird/js/main/async.js:123:16)
at Async._drainQueues (node_modules/bluebird/js/main/async.js:133:10)
at Immediate.Async.drainQueues [as _onImmediate] (node_modules/bluebird/js/main/async.js:15:14)
at Function.module.exports.loopWhile (node_modules/deasync/index.js:64:21)
at node_modules/deasync/index.js:36:18
at runTask (truffle.es6:55:5)
at Object.<anonymous> (truffle.es6:347:14)
at normalLoader (node_modules/babel-core/lib/api/register/node.js:199:5)
at Object.require.extensions.(anonymous function) [as .es6] (node_modules/babel-core/lib/api/register/node.js:216:7)
at Object.<anonymous> (node_modules/babel/lib/_babel-node.js:144:25)
at node.js:972:3
Not sure what to do with that.
from truffle.
Did you ever fix this issue?
from truffle.
Yep! Thank you!
from truffle.
Related Issues (20)
- Still using node-ipc instead of the fork HOT 4
- Truffle should have global technical support Channel to access for more contribution.
- Truffle migrate throwing Error "*** stack smashing detected ***: terminated" HOT 1
- TypeError: Cannot read properties of undefined (reading 'start') - Transaction that creates ERC20 contract HOT 7
- An error occurred while initializing the debugger. HOT 2
- Debugger shows incorrect value for a Yul variable HOT 4
- Client network socket disconnected before secure TLS connection was established HOT 2
- Running the command: npm install -g truffle generated error HOT 2
- adjusting to rpc limits HOT 2
- unbox failedοΌError connecting to https://raw.githubusercontent.com/xxx HOT 2
- `truffle test --debug` hangs without starting the debugger HOT 5
- truffle test The following information will appear Download xxx HOT 5
- getting this error any solutions? HOT 1
- Error when running npm install -g truffle HOT 8
- "Upfront cost exceeds account balance" on Besu private zero gas network HOT 3
- receipt.to showing contract address HOT 2
- Truffle Compile SyntaxError HOT 1
- Issue using latest truffle migrate HOT 4
- Truffle is being sunset HOT 3
- "Everything is up to date, there is nothing to compile"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from truffle.