You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stateDiff should contain the balance changes for the tx sender and the block validator (here is the correct output as provided by QuickNode:
{
# This is the sender
"0x5324ff21932b3ae69a6d46aaf29eca5bbfb86b73": {
"balance": {
"*": {
"from": "0x5bb96a5487a77495",
"to": "0x5bb9573b1619f045"
}
},
"code": "=",
"nonce": {
"*": {
"from": "0xe3",
"to": "0xe4"
}
},
"storage": {}
},
# This is the miner
"0x9baa3244565d51d9c7897c0eb6679ed4890e536e": {
"balance": {
"*": {
"from": "0xa39659f932cf1b4668b",
"to": "0xa39659fa646633eb68b"
}
},
"code": "=",
"nonce": "=",
"storage": {}
}
}
Actual behavior:
stateDiff is null.
Frequency:
100%
Versions (Add all that apply)
Software version: freshly compiled from main branch, as well as 24.5.2
Java version: 17 & 21
OS Name & Version: Debian bookworm
Consensus Client & Version if using Proof of Stake: Teku 24.4.0
Additional Information (Add any of the following or anything else that may be relevant)
It seems that this issue is triggered by simple transfer TXs running out of gas. The bug may be coming from this line, where the generation of the state diff is entirely skipped if there are no frames in the tx execution, hence ignoring the balance changes to the sender & miner.
The text was updated successfully, but these errors were encountered:
Description
The
stateDiff
field of the result of a pure transfer tx intrace_replayBlockTransactions
call isnull
if the transaction failed.Steps to Reproduce (Bug)
On an archive Besu node on the
curl
/jq
command:Expected behavior:
stateDiff
should contain the balance changes for the tx sender and the block validator (here is the correct output as provided by QuickNode:Actual behavior:
stateDiff
isnull
.Frequency:
100%
Versions (Add all that apply)
main
branch, as well as 24.5.2Additional Information (Add any of the following or anything else that may be relevant)
It seems that this issue is triggered by simple transfer TXs running out of gas. The bug may be coming from this line, where the generation of the state diff is entirely skipped if there are no frames in the tx execution, hence ignoring the balance changes to the sender & miner.
The text was updated successfully, but these errors were encountered: