synechron-finlabs / quorum-maker

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

Not able to sent ether from an account to a contract #93

Open Dhrumil2910 opened 5 years ago

Dhrumil2910 commented 5 years ago

I have quorum network set up with 3 nodes using quorum maker. I have written a simple contract that has a function which is payable. So when one calls this function, the contract balance should be updated appropriately as per the value mentioned in the transaction object. But when executing the transaction, the amount gets deducted from the account but is not reflected in the contract balance.

When running estimateGas function for this transaction object, it shows error as """" gas required exceeds allowance or always failing transaction. """" I tried increasing the gas limit. But no luck.

Every other transaction is reflected appropriately. Just this payable feature is not working properly (i.e. transfer of funds from account to contract address).

rjbanner commented 5 years ago

This appears to a Quorum issue. Are you sending the transaction using truffle or via json rpc directly? If truffle is being used, it might be a truffle issue as well