synechron-finlabs / quorum-maker

Utility to create and monitor Quorum nodes
Apache License 2.0
196 stars 97 forks source link

Transactions involving arrays are always reverted #86

Closed stefanionescu closed 5 years ago

stefanionescu commented 5 years ago

Hi, I made a smart contract where I store strings in an array.

In my truffle tests everything works fine but when I submit a transaction with web3Quorum, it always reverts.

The same thing happens with struct arrays

[EDIT] Also cannot store stuff in nested mappings

dhyansraj commented 5 years ago

Is the truffle tests work fine with QM? If so, it could be a problem with Quorum. Do you know if web3Quorum works fine with 7 node example?

stefanionescu commented 5 years ago

All truffle tests work perfectly. I didn't try the 7 nodes example but either way, the contracts should work on any custom network

rjbanner commented 5 years ago

You may need to downgrade Truffle to v4.1.x

stefanionescu commented 5 years ago

Thanks!

rjbanner commented 5 years ago

Please reopen this if this solution does not work