gnosis / mock-contract

Simple Solidity contract to mock dependent contracts in truffle tests.
94 stars 24 forks source link

updated to support solidity 0.6 #20

Closed leckylao closed 4 years ago

leckylao commented 4 years ago

https://github.com/gnosis/mock-contract/issues/19

fleupold commented 4 years ago

Also, travis file needs to be updated to use v0.6 for CI to pass.

fleupold commented 4 years ago

Looks good to me. Last thing to fix is the travis file so that CI can pass...

leckylao commented 4 years ago

Looks good to me. Last thing to fix is the travis file so that CI can pass...

Now it can compile.

fleupold commented 4 years ago

Now the tests seem to fail (likely due to the truffle update to v5.1)

leckylao commented 4 years ago

Now the tests seem to fail (likely due to the truffle update to v5.1)

Fixed the failed one that I can. Let me know if you know how to fix the others. @fleupold @rmeissner

fleupold commented 4 years ago

Can you rebase on top of https://github.com/gnosis/mock-contract/pull/21 as this performs the update to truffle 5.1?

This should reduce the changes to only be inside solidity.

fleupold commented 4 years ago

Thanks again @leckylao for your contribution! Sorry it took so long getting it merged...