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

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

Merged
merged 4 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/3.2 into release/4.0 including #1379

Resolves #1354

…fer from provided packed_transaction for deferred trxs before replace_deferred protocol feature is activated.
[3.2] Emit correct trace id for deferred trx before replace_deferred protocol feature activation
@heifner heifner merged commit 9cada46 into release/4.0 Jul 7, 2023
37 checks passed
@heifner heifner deleted the GH-1354-deferred-id-4.0 branch July 7, 2023 19:39
@heifner heifner added the OCI Work exclusive to OCI team label Jul 7, 2023
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.

None yet

3 participants