2

This one has me scratching my head: This transaction (which sent in a value of 0.01 ETH) executed correctly according to etherscan:

https://etherscan.io/tx/0x31180d097b7baf3e9804334d24bb2c142dd8a58486bcb487bbb567bac9d3ba63

However:

1- I got an error in the callback that said:

"Error: The contract code couldn't be stored, please check your gas amount."

..and the Total Gas Used looks to be higher than the max gas allowed.

2- Although the Tx says that 0.005 ETH was transferred to two wallets, neither of them actually show that transfer having happened: https://etherscan.io/address/0xc122ca236edf7b33fb73fbb459a08f7935e6c96b https://etherscan.io/address/0x39267ec3f4e1610cd871d3545e01918f1dba7b84

So I am totally puzzled. If there was not enough gas, I would expect the TX to fail and to lose the gas, but not the 0.01 ETH in value. If it did not fail, why did I get the error in the callback and no transfer of value to the wallets?

At the moment it looks to me like 0.01 ETH just disappeared - it left the paying wallet, but did not arrive in the receiving wallets.

Can anyone explain?

Many thanks!

  • Can you provide information on how this transaction was created ? Just a raw transaction with some data or using web3 / truffle ? – Nikita Fuchs Jun 26 '17 at 21:10
  • From etherscan and etherchain it seem that it has executed correctly, in both accounts if you look in the internal transaction tab in etherscan you can see there is a transaction for block 3931947, tx 0x31180d09... – Ismael Jun 27 '17 at 5:45
  • Hi Nikita, the tx was created using web3. – Daniel Mermelstein Jun 27 '17 at 6:51
  • Hi Ismael, I agree with you but then where did the ETH go? It does not appear in the receiving wallets. – Daniel Mermelstein Jun 27 '17 at 6:52
  • It has happened again with this transaction etherscan.io/tx/… This time it does not appear to have run out of gas, but I got the same error in the callback and the payment has not gone to the receiving wallets... totally stumped! – Daniel Mermelstein Jun 30 '17 at 8:32
1
+50

I have checked the transactions you provided in etherscan.

To see the questioned transfers in target accounts, go to the target account and click on "Internal transactions" tab. The inbound transfers are visible there.

  • yes! I just saw that! That was my bad! But what about the error message? Why am I getting an error callback for a thing that succeeded? – Daniel Mermelstein Jun 30 '17 at 8:43
  • Hard to tell just looking at the transactions - they all seem to have been executed just fine. Error messages might be somewhat misleading since all throws in Ethereum are equal. – Michał Kłeczek Jun 30 '17 at 8:45
  • you mean the throw is for something else entirely? How the hell does one debug that then? :-( – Daniel Mermelstein Jun 30 '17 at 8:51
  • What client are you using? – Michał Kłeczek Jun 30 '17 at 8:56
  • to submit? web3 via Metamask.. that what you mean? – Daniel Mermelstein Jun 30 '17 at 9:05
0

My guess is the sender spent all the gas therefore the balance has been updated by the spent_gas*gas_price amount, i.e. the Ethereum state is changed and it should be "engraved" in the blockchain.

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.