Skip to content
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

[4.0 -> main] Emit correct trace id for deferred trx before replace_deferred protocol feature activation #1382

Merged
merged 2 commits into from
Jul 7, 2023

Conversation

heifner
Copy link
Member

@heifner heifner commented Jul 7, 2023

Before protocol feature replace_deferred is activated the trx id of the scheduled transaction can differ from the packed_transaction that is executed. This PR restores the behavior of tracking and reporting in transaction traces the scheduled transaction id instead of the packed_transaction id. This was not a consensus error but rather the wrong trx id was being reported in transaction traces for scheduled transactions before the on-chain activation of replaced_deferred. This manifested itself by confusing SHiP in recording the scheduled transactions reported in a block.

Merges release/4.0 into main including #1381
Empty diff because these changes already merged to main via #1380

Resolves #1354

heifner added 2 commits July 7, 2023 15:39
[3.2 -> 4.0] Emit correct trace id for deferred trx before replace_deferred protocol feature activation
@heifner heifner requested review from greg7mdp and linh2931 July 7, 2023 19:43
@heifner heifner added the OCI Work exclusive to OCI team label Jul 7, 2023
@heifner heifner merged commit 1b79caa into main Jul 7, 2023
@heifner heifner deleted the GH-1354-deferred-id-m branch July 7, 2023 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nodeos 3.1.0 and 4.0.3 cannot sync EOS from genesis with ship enabled
3 participants