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

Local devnet: fix block 10 #420

Merged
merged 4 commits into from
Dec 27, 2024
Merged

Local devnet: fix block 10 #420

merged 4 commits into from
Dec 27, 2024

Conversation

ftheirs
Copy link
Collaborator

@ftheirs ftheirs commented Nov 4, 2024

This is just a minor fix. For block 10 onwards, we are able to compute old block as block_number - STORED_BLOCK_HASH_BUFFER

Pathfinder reference: https://github.com/Moonsong-Labs/pathfinder/blob/c45b23d2d6407079ad19f84ef0b23f913063d7cd/crates/executor/src/execution_state.rs#L132-L152

Issue Number: N/A

Type

  • feature
  • bugfix
  • dev (no functional changes, no API changes)
  • fmt (formatting, renaming)
  • build
  • docs
  • testing

Description

Breaking changes?

  • yes
  • no

@ftheirs ftheirs force-pushed the ft/fix_block_10_devnet branch from f3f701d to 62f60ba Compare November 5, 2024 12:50
@ftheirs ftheirs force-pushed the ft/fix_block_10_devnet branch from 62f60ba to 56a30d2 Compare November 6, 2024 12:42
@ftheirs ftheirs marked this pull request as ready for review November 26, 2024 20:11
Copy link
Collaborator

@HermanObst HermanObst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@HermanObst HermanObst merged commit 02f6560 into main Dec 27, 2024
5 checks passed
@HermanObst HermanObst deleted the ft/fix_block_10_devnet branch December 27, 2024 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants