Skip to content

Upgrade to Solidity 0.5#52

Open
bwasty wants to merge 1 commit intosoulofamachine:masterfrom
bwasty:solidity_0.5
Open

Upgrade to Solidity 0.5#52
bwasty wants to merge 1 commit intosoulofamachine:masterfrom
bwasty:solidity_0.5

Conversation

@bwasty
Copy link

@bwasty bwasty commented Apr 30, 2019

I managed to get everything to compile with 0.5, but the tests don't actually run - e.g.

$ truffle test ./test/Test_Assert_1.sol                   
Using network 'development'.


Compiling your contracts...
===========================
> Compiling ./test/Test_Assert_1.sol
> Artifacts written to /var/folders/x9/r_tmpy114wl990592hvtv6fc0000gn/T/test-119330-25817-6rmait.bueih
> Compiled successfully using:
   - solc: 0.5.0+commit.1d4f565a.Emscripten.clang
$

Any ideas?

@soulofamachine
Copy link
Owner

hey thanks for helping to upgrade. What's the actual error message?

0.5 might have some breaking changes. or the issue might be with my set up being outdated.

Can you paste the actual issue here? thanks!

@bwasty
Copy link
Author

bwasty commented May 2, 2019

There is no error message (after fixing all compile errors - see diff) - the test run apparently stops after compiling but before executing any tests (above I posted the whole output). I'm using Truffle v5.0.14 - perhaps the tests/asserts are not recognized somehow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants