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

Fix tx order in zkevm_getBatchByNumber endpoint response #3749

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

agnusmor
Copy link
Contributor

@agnusmor agnusmor commented Aug 5, 2024

What does this PR do?

Sometimes when calling zkevm_getBatchByNumer, it does not return the transactions of the requested batch in an ordered manner. This PR fixes the sorting of the transactions of the batch by the tx_index field (state.receipt table)

Reviewers

Main reviewers:

@tclemos
@ToniRamirezM
@ARR552

@agnusmor agnusmor added cherry-picked Content has been cherry-picked into a higher version branch zkevm-bridge-sync-rpc labels Aug 5, 2024
@agnusmor agnusmor added this to the v0.7.3 milestone Aug 5, 2024
@agnusmor agnusmor requested a review from ARR552 August 5, 2024 13:54
@agnusmor agnusmor self-assigned this Aug 5, 2024
@cla-bot cla-bot bot added the cla-signed label Aug 5, 2024
@agnusmor agnusmor merged commit 8735f06 into release/v0.7.3 Aug 5, 2024
16 checks passed
@agnusmor agnusmor deleted the fix/tx-order branch August 5, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-picked Content has been cherry-picked into a higher version branch cla-signed zkevm-bridge-sync-rpc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants