-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Incorrect transaction debug output on BSC #5865
Comments
As was pointed out on Discord. The address in question that submit this transaction was part of the |
This issue is stale because it has been open for 40 days with no activity. Remove stale label or comment, or this will be closed in 7 days. |
It's still a problem |
Works around a flaw in the upgrade logic of the system contracts. Since they are updated directly, without first being self-destructed and then re-created, the usual incarnation logic does not get activated, and all historical records of the code of these contracts are retrieved as the most recent version. This problem will not exist in erigon3, but until then, a workaround will be used to access code of such contracts through a special structure, `SystemContractCodeLookup` Fixes #5865 Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Using the latest version on BSC:
v2.28.1
(and older versions)The following trace is incorrect:
It returns:
However, this transaction is successful (the receipt says it was successful too):
https://www.bscscan.com/tx/0xebf83628ba893d35b496121fb8201666b8e09f3cbadf0e269162baa72efe3b8b
Same output if you do
debug_traceBlockByNumber
May be related to #5308
The text was updated successfully, but these errors were encountered: