Weird trace results
Hey, there is a very weird bug for 0x6ff499d3f1bb4ae0bb5e7e42c1664df4d906dde2797bd56d61f8521b930463ac transaction on ROPSTEN.
The trace_block/trace_transaction gives back other call data as the debug_traceTransaction and both are others as what the etherscan gives back for trace.
There is a call during the main transaction, trace_block/trace_transactions says that 0x48628bcccb5cf118cbf3f29d04e02799c8d23ced is called, debug_traceTransaction says 0x153dfef4355e823dcb0fcc76efe942befca86477 Etherscan says 0x6b7044de4b5100f235bf8d573b77a19d41c732a81
And when it was not enough, the transaction sender 0x153dfef4355e823dcb0fcc76efe942befca86477 balance has increased suddenly with 22640731969999249516 wei without any trace or CALL opcode for that address.
Erigon trace_block of the TX:
{
"action": {
"from": "0x153dfef4355e823dcb0fcc76efe942befca86477",
"callType": "call",
"gas": "0x28e77",
"input": "0x5d495aea",
"to": "0x332815388934ca87c57ea33a3a0c16385bb18681",
"value": "0x0"
},
"blockHash": "0xaa60e5d900373e757bfceb3aece99e93fb557d5c10689a1187cfb080c835d663",
"blockNumber": 12356606,
"result": {
"gasUsed": "0x1c2fb",
"output": "0x"
},
"subtraces": 1,
"traceAddress": [],
"transactionHash": "0x6ff499d3f1bb4ae0bb5e7e42c1664df4d906dde2797bd56d61f8521b930463ac",
"transactionPosition": 7,
"type": "call"
},
{
"action": {
"from": "0x332815388934ca87c57ea33a3a0c16385bb18681",
"callType": "call",
"gas": "0x8fc",
"input": "0x",
"to": "0x48628bcccb5cf118cbf3f29d04e02799c8d23ced",
"value": "0x13a34fd8af79e8000"
},
"blockHash": "0xaa60e5d900373e757bfceb3aece99e93fb557d5c10689a1187cfb080c835d663",
"blockNumber": 12356606,
"result": {
"gasUsed": "0x0",
"output": "0x"
},
"subtraces": 0,
"traceAddress": [
0
],
"transactionHash": "0x6ff499d3f1bb4ae0bb5e7e42c1664df4d906dde2797bd56d61f8521b930463ac",
"transactionPosition": 7,
"type": "call"
},
Erigon debug_traceTransaction of the TX which has only one CALL op code:
{
"pc": 735,
"op": "CALL",
"gas": 120380,
"gasCost": 9100,
"depth": 1,
"stack": [
"0x5d495aea",
"0xde",
"0xf",
"0x153dfef4355e823dcb0fcc76efe942befca86477",
"0x0",
"0x13a34fd8af79e8000",
"0x320",
"0x0",
"0x320",
"0x0",
"0x320",
"0x13a34fd8af79e8000",
"0x153dfef4355e823dcb0fcc76efe942befca86477",
"0x0"
],
"memory": [
"0000000000000000000000000000000000000000000000000000000000000001",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000320",
"0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000280",
"14c72f98d10d3b79e0eb8a1084218655cafaf7fa8dc0d2de7d9a92df7c844093",
"0000000000000000000000000000000000000000000000000000000062a1e510",
"000000000000000000000000153dfef4355e823dcb0fcc76efe942befca86477",
"000000000000000000000000405fe24cd0985b4b24b11a53179881a22d03d3d8",
"00000000000000000000000064e8b5db8918dcd7ef73dd5d7ecd3eef2d742506",
"0000000000000000000000002dfba8cb6834bb9c99fca4572c963d699e7c00a0",
"0000000000000000000000007ea3a94803ef554847d80ac57ef9dd57e6748755",
"000000000000000000000000405fe24cd0985b4b24b11a53179881a22d03d3d8",
"0000000000000000000000002dfba8cb6834bb9c99fca4572c963d699e7c00a0",
"0000000000000000000000005aad8d60a89a5ecc7814e5f3bb4732a609446188",
"0000000000000000000000006b7044de4b5100f235bf8d573b77a19d41c732a8",
"00000000000000000000000034cd2d20d056abdaae4e9947e93a8a69ba138b7c",
"000000000000000000000000405fe24cd0985b4b24b11a53179881a22d03d3d8",
"00000000000000000000000024c62abb5afc34f6ed4a6f62cb9ab04bf722de99",
"00000000000000000000000048628bcccb5cf118cbf3f29d04e02799c8d23ced",
"0000000000000000000000004654ca21215b3dc0337e3bd8a808ad02b2694faf",
"0000000000000000000000000b835691094a3e18b5749431863348d41c4e10d8",
"000000000000000000000000153dfef4355e823dcb0fcc76efe942befca86477",
"0000000000000000000000006b7044de4b5100f235bf8d573b77a19d41c732a8",
"000000000000000000000000d4f9cf205a9d05bcae2f1a3fc6b395e9799efb5f",
"14c72f98d10d3b79e0eb8a1084218655cafaf7fa8dc0d2de7d9a92df7c844093",
"0000000000000000000000000000000000000000000000000000000062a1e510",
"000000000000000000000000153dfef4355e823dcb0fcc76efe942befca86477",
"000000000000000000000000405fe24cd0985b4b24b11a53179881a22d03d3d8",
"00000000000000000000000064e8b5db8918dcd7ef73dd5d7ecd3eef2d742506",
"0000000000000000000000002dfba8cb6834bb9c99fca4572c963d699e7c00a0",
"0000000000000000000000007ea3a94803ef554847d80ac57ef9dd57e6748755",
"000000000000000000000000405fe24cd0985b4b24b11a53179881a22d03d3d8",
"0000000000000000000000002dfba8cb6834bb9c99fca4572c963d699e7c00a0",
"0000000000000000000000005aad8d60a89a5ecc7814e5f3bb4732a609446188",
"0000000000000000000000006b7044de4b5100f235bf8d573b77a19d41c732a8",
"00000000000000000000000034cd2d20d056abdaae4e9947e93a8a69ba138b7c",
"000000000000000000000000405fe24cd0985b4b24b11a53179881a22d03d3d8",
"00000000000000000000000024c62abb5afc34f6ed4a6f62cb9ab04bf722de99",
"00000000000000000000000048628bcccb5cf118cbf3f29d04e02799c8d23ced",
"0000000000000000000000004654ca21215b3dc0337e3bd8a808ad02b2694faf",
"0000000000000000000000000b835691094a3e18b5749431863348d41c4e10d8",
"000000000000000000000000153dfef4355e823dcb0fcc76efe942befca86477",
"0000000000000000000000006b7044de4b5100f235bf8d573b77a19d41c732a8",
"000000000000000000000000d4f9cf205a9d05bcae2f1a3fc6b395e9799efb5f",
"0000000000000000000000000000000000000000000000000000000000000000"
]
},
Etherscan parity trace:
{
"action": {
"from": "0x153dfef4355e823dcb0fcc76efe942befca86477",
"callType": "call",
"gas": "0x28e77",
"input": "0x5d495aea",
"to": "0x332815388934ca87c57ea33a3a0c16385bb18681",
"value": "0x0"
},
"blockHash": "0x7b255fb66fdb4b9de1d2355d8a45918105036f80a9a788d43622277166f917b3",
"blockNumber": 12352593,
"result": {
"gasUsed": "0x1c2fb",
"output": "0x"
},
"subtraces": 1,
"traceAddress": [],
"transactionHash": "0x6ff499d3f1bb4ae0bb5e7e42c1664df4d906dde2797bd56d61f8521b930463ac",
"transactionPosition": 39,
"type": "call"
},
{
"action": {
"from": "0x332815388934ca87c57ea33a3a0c16385bb18681",
"callType": "call",
"gas": "0x8fc",
"input": "0x",
"to": "0x6b7044de4b5100f235bf8d573b77a19d41c732a8",
"value": "0xc7057784a3e08000"
},
"blockHash": "0x7b255fb66fdb4b9de1d2355d8a45918105036f80a9a788d43622277166f917b3",
"blockNumber": 12352593,
"result": {
"gasUsed": "0x0",
"output": "0x"
},
"subtraces": 0,
"traceAddress": [
0
],
"transactionHash": "0x6ff499d3f1bb4ae0bb5e7e42c1664df4d906dde2797bd56d61f8521b930463ac",
"transactionPosition": 39,
"type": "call"
}
A new one for Ropsten block ``12350770for0xb990afe2760da94daa58152bd51f52db00972ae646708e1bb9ff20ef01b6b9f2tx.debug_traceTransactionresult: https://gist.github.com/iFA88/26cc25fadbe77dcde283e95bd8df8bb7trace_transactionresult: https://gist.github.com/iFA88/4f85fa574bb66db319222bc4f5c0917a I THINK during replaying the TX with thetrace_transactionthe DIFFICULTY op code gives 0 back and not like duringdebug_traceTransaction`
I close this issue, because it has been fixed.