-
Notifications
You must be signed in to change notification settings - Fork 54
Endless RPC Call loop on return #5
Comments
Hi Denis, try this: Instead of passing your binary in the
However, since you seem to already have the binary (
I'm not sure why specific numbers worked for you and others didn't, but if you still have the problem after the above changes I'll take another look. |
No luck with this one. Still the same behavior. Here is a minimal example in truffle: https://github.com/mhhf/pudding_minierror |
Ah, I didn't realize you were using Truffle. Just make it this then. No need to call
|
Changed the code. But it still be behaves the same. |
The problem was caused, because the function I created a pull request, which solves this issue. |
@mhhf I can't believe I didn't notice this earlier. Can you call So, try this:
|
Ah! .call() works. Tank you! Are there cases where I want to treat a constant function like a transaction? |
None that I can think of. Except it might be nice not to have to call |
Setup:
web3: 0.12.0
pudding: 0.10.0
testrpc: 0.1.14
I've got a problem with the following contract:
and the following JS Code:
The strange thing is: as log as the value in Store is set to 0-9, Pudding shows the behavior described here: #4
If the value is set to 10 and above. Pudding works fine.
This is probably caused here: https://github.com/ConsenSys/ether-pudding/blob/master/build/ether-pudding.js#L244 as the response( tx ) is an BigNumber Object and not a transaction hash. But I have still to figure out why this works with value=10
The text was updated successfully, but these errors were encountered: