Arachnid/etherquery

capture incorrect value, help wanted

gzuhlwang opened this issue · 0 comments

Hi, based on your trace code, my geth(v1.8.22) outputs an invalid value in the internal "transaction" of 0x8e...ad3 . This puzzled me a lot. I debug, want to fix it,but failed. I fetch and print the value transferred from vm's stack, it is right number. But I print out side of evm, in particular for loop of method (p *StateProcessor) Process in file core/state_processor.go. The following are the log:

core/vm/logger.go,CALL value:8000000000000000, toAddr: 0xC7ed8919C70dd8cCf1a57c0ED75b25ceB2DD22D1, txhash: 0x8e46df2b4230379e1c557cbfc4f50efdc335b5e40ad85928495622c2b41b2ad3 .
core/vm/instructions.go, value transferred: 8000000000000000 toAddr: 0xC7ed8919C70dd8cCf1a57c0ED75b25ceB2DD22D1
Message into contract occurred! The parent txhash:0x8e46df2b4230379e1c557cbfc4f50efdc335b5e40ad85928495622c2b41b2ad3, Kind:FEE, Src:0x2A9847093aD514639e8cDEC960b5E51686960291, Dest:0x829BD824B016326A401d083B33D092293333A830, Value:8581231699039200 .
Message into contract occurred! The parent txhash:0x8e46df2b4230379e1c557cbfc4f50efdc335b5e40ad85928495622c2b41b2ad3, Kind:call, Src:0x06012c8cf97BEaD5deAe237070F9587f8E7A266d, Dest:0xC7ed8919C70dd8cCf1a57c0ED75b25ceB2DD22D1, Value:38946 .

help wanted.