Skip to content

fix: query for previous host block instead of current host block #114

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

Conversation

dylanlott
Copy link
Contributor

@dylanlott dylanlott commented Jun 17, 2025

fix: query for previous host block instead of current host block

When querying for the host block during host transaction preparation, the builder calculates the host block number from the rollup block number.

This result needs to be reduced by 1, otherwise the block being queried is the host block currently being built which, of course, can't be queried.

Fixes ENG-1132.

Copy link
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@dylanlott dylanlott added the bug Something isn't working label Jun 17, 2025 — with Graphite App
@dylanlott dylanlott self-assigned this Jun 17, 2025
@dylanlott dylanlott marked this pull request as ready for review June 17, 2025 19:01
@dylanlott dylanlott requested a review from Evalir as a code owner June 17, 2025 19:01
@prestwich prestwich changed the base branch from prestwich/span-closure to graphite-base/114 June 18, 2025 14:46
@prestwich prestwich force-pushed the dylan/fix_query_for_previous_host_block_instead_of_current_host_block branch from 5ecee6f to 184b9fb Compare June 18, 2025 14:47
@prestwich prestwich changed the base branch from graphite-base/114 to prestwich/span-closure June 18, 2025 14:47
@prestwich prestwich changed the base branch from prestwich/span-closure to graphite-base/114 June 18, 2025 14:47
@prestwich
Copy link
Member

this was folded into #113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants