1

I use geth 1.7 to set up a private network, my genesis config is enter image description here

this is my contract, the first transaction result is of enen(1,2); the second transaction result is of enen(0,2) enter image description here

why the transaction receipt's root filed is always "0x" whether the transaction is successful or not?

3
  • This is probably related to EIP-98, which came in with Geth 1.7... github.com/ethereum/EIPs/issues/98 Sep 18, 2017 at 9:58
  • EIP-98 said "the intermediate state root parameter in the receipt should be set to a \x01 byte if the outermost code execution succeeded, or a zero byte if the outermost code execution failed."
    – likang
    Sep 19, 2017 at 12:13
  • In that case it sounds like geth isn't serializing it properly, to "0x0".
    – dcorking
    Jan 19, 2018 at 14:31

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.