-
Notifications
You must be signed in to change notification settings - Fork 20.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug_traceBlockByHash returning "insufficient funds" error on block 19888327 #29800
Comments
That block contains three transactions concerning that account |
The last tx could also run through debug_traceTransaction, though I didn't raise it as it didn't seem to concern 0xc79 as a sender 🙈 - Assuming that the
|
Ahhh you're right... Now where did the number 2469004274997060 came from... |
Are you using the hash scheme or path scheme? If you first synced your node before v1.14.0 and didn't explicitly specify |
We're using hash for our nodes (especially for this one where we are running archive nodes) 🙏 |
Yeah, archive nodes have to be hash, path isn't supported, but this happens on either, I believe |
I've been investigating this a bit, haven't found any smoking gun. The I have found one thing that looks quite odd, https://github.com/ethereum/go-ethereum/blob/master/eth/tracers/api.go#L985 , where we use a vmconfig with no basefee checking |
It seems, that earlier, it generated the txContext from the 064f37d#diff-bd288cd51c1874c7e65ce0d35047c0a98366479c8924606c9efc577f6a98f75cL947 @s1na any thoughts why? EDIT: Nevermind, it seems that it's now set within
|
I checked there was no problem with |
@s1na the setting of if config.NoBaseFee {
if txCtx.GasPrice.BitLen() == 0 {
blockCtx.BaseFee = new(big.Int)
}
if txCtx.BlobFeeCap != nil && txCtx.BlobFeeCap.BitLen() == 0 {
blockCtx.BlobBaseFee = new(big.Int)
}
} That is: we will set the block ctx fields to zero. Thus overwriting the fields that we constructed earlier, in
This will affect the opcodes |
@holiman Request
Response (w/ |
Was the above generated with 1.13 or 1.14? I have 1.13 archive nodes and I have Erigon, Nethermind, and Besu archive nodes, if you want any of those, lemme know 😄 |
@quickchase It was generated with |
Okay |
This should have been fixed via #29811. I would appreciate if someone can use latest master and confirm they don't see the issue anymore. |
@s1na this looks fixed now, tested the the unstable nightly build from 28th May. It solves the issue above and another related issue where the transaction trace was showing an error (where it should not have been) |
Great, closing then. Release coming up next week! |
System information
Geth version: geth.exe version 1.14.3-stable-ab48ba42
CL client & version: beacon-chain version Prysm/v5.0.3/38f208d70dc95b12c08403f5c72009aaa10dfe2f. Built at: 2024-04-04 18:48:31+00:00
OS & Version: Windows
Expected behaviour
Debug_traceBlockByHash should return the trace dump for block 19888327
Actual behaviour
A tracing failed message was returned instead
If I independently trace the two "out" transactions on this block for the address 0xc79d40C897FbD912a7cD29E318a0D41F579793f6 , it seems to return results correctly.
Seems to be affecting more than 1 of our nodes, potentially other blocks as well as we received some reports about indexed traces showing a transaction failing, however when the tx is traced individually with debug_traceTransaction, no execution reverted seemed to be found.
The text was updated successfully, but these errors were encountered: