-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solidity 0.4.23 does not work properly on latest quorum release (2.0.2) #371
Comments
@nottherealbatman Quorum is currently up to Geth 1.7.2 which limits its Solidity to 0.4.18 (need to confirm breaking changes). We've plans for updating Geth, but this is an ongoing long term project that will take time before we pulled in Solidity changes. |
Seems to me that this is not really worth it to migrate until a major release aka 0.50.0? I do like that quorum is using more up to date geth versions than hyperledger burrow (still no require, revert and assert :( ) |
The reason why I brought this up because 0.4.23 brings a lot of nice new features with it like returning dynamic arrays and custom error messages. And it is building up to the 0.5.0 release so maybe slowly preparing isn't a bad idea. |
@nottherealbatman 0.4.23 is supported, I have tested a few contracts and it works. Please make sure you are using the latest quorum-examples with the updated genesis block. I recently made an update to the genesis file to enable byzantium at block 1. |
@jpmsam In our test it was not reliable, we encountered strange bugs which we didn't had with 0.4.18. See link in opening post to the truffle issue. |
@nottherealbatman which genesis file were you using and was it on a new network? I will try to replicate using the steps provided on the truffle issue. |
Just to chime in here, since I was the one submitting the truffle issue:
|
@arnoudbevers thanks for chiming in. Would you be able to do run the same test using the latest genesis block? |
Hi, so I've tested this just now on our quorum-examples repo in local mode. I'm on a mac running quorum / constellation master builds, latest 10x node and latest truffle. The findings:
So, looks like you may need to re-init your Quorum with genesis config "byzantiumBlock": 1. Curiously, when testing in raft mode, truffle repeatedly timed out during migration and test. I've yet to find out why this is happening but it seems that if I execute another txn in the geth console, before it timed out, truffle chugs along. |
@fixanoid Thanks! Please patch the Istanbul genesis block and you should be able to close this issue. |
Patched just now. |
Thank you, I haven't had much time to look into the issue the last couple of weeks. I'll keep it in mind for the next deployment! |
When compiling with 0.4.23 quorum contracts return null responses
See full issue posted at truffle trufflesuite/truffle#936 as it was though to be an truffle issue
The text was updated successfully, but these errors were encountered: