I'm trying to get the ETH refund from my DAO, following the instructions here (but with Parity 1.4.4).

The approve transaction is here.

But I already tried to send the withdraw transaction twice, in both cases it's out of gas, why? The attempts:

Thanks in advance.

  • Have you tried redownloading the blockchain? I know there have been some anomalies after the state clearing; all my problems were fixed when I did this yesterday?. – user5135 Dec 3 '16 at 16:17

The numbers in the approve and the balance of your account look correct. But it looks like you are simply not giving the transaction enough gas to execute. You are giving about 76k gas, but this transaction needs around 412k. Try to give more and it will succeed.

EDIT: I have asked on the Parity gitter, and Gavin Wood said that it is not currently possible to increase gasLimit from the Parity UI, but it will land in their next release.

EDIT2: Version 1.4.6 of Parity has "Advanced sending options" tick box that allows you to increase the gas limit

| improve this answer | |
  • how? parity doesn't let me specify gas when executing a contract – knocte Dec 4 '16 at 7:23
  • I posted a question on the parity gitter, could not find such an option myself – Alexey Akhunov Dec 4 '16 at 14:36
  • thanks for re-editing the answer but the "advanced sending options" feature is still (even in v.1.4.6) an option that only exists in the UI to send transactions, not in the one to execute contracts. I recommend you to test hings yourself before trying to answer on StackExchange. (See my own answer.) – knocte Dec 11 '16 at 6:16
  • you know, I tried to help as much as I can, and yes, I made a mistake and did not check everything. But I spent a fair bit of time on this already did not expect an annoyed response. – Alexey Akhunov Dec 11 '16 at 23:31
  • annoyed response? I don't know why did you get such an impression, I'm just stating the facts :) – knocte Dec 12 '16 at 3:29

It is not an out of gas failure. Look at the vmtrace logs. It says "error": "Bad jump destination"

| improve this answer | |
  • and what does that mean? – knocte Dec 4 '16 at 7:23

@Alexey's pointers about Parity were not accurate enough: at the time of this writing, the feature has just been recently implemented in master branch (after 1.4.6 is released), and I just compiled parity myself because I couldn't wait for the release of 1.4.7 to test it.

The version is labeled as "1.5.0-beta" and in fact includes GAS editing when exeucting a contract. I added double the gas that it was estimating, and finally the withdrawal of ETH from DAO was successful.

This actually means that Parity is not accurate enough when estimating the gas for the execution of a contract, so I've raised a bug here.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.