solidity-koans icon indicating copy to clipboard operation
solidity-koans copied to clipboard

Upgrade to Solidity 0.5

Open bwasty opened this issue 6 years ago • 2 comments

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?

bwasty avatar Apr 30 '19 21:04 bwasty

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!

soulofamachine avatar May 02 '19 08:05 soulofamachine

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?

bwasty avatar May 02 '19 10:05 bwasty