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

turbo/execution: drop td lookup in getters #12832

Merged
merged 2 commits into from
Nov 21, 2024
Merged

Conversation

taratorio
Copy link
Member

Since we started prunning TD (roughly after 100,000 blocks) there is no longer any point in keeping the TD lookups in some of the ExecutionModule read APIs such as GetHeader, GetBody, etc.

Those lookups actually also break the APIs for use cases in which some components need to read block data older than the prune point of the TD. In those cases Ive observed we return errors when in reality the data is there (in snapshots) and is accessible otherwise.

@taratorio taratorio enabled auto-merge (squash) November 21, 2024 18:06
@taratorio taratorio merged commit 336260e into main Nov 21, 2024
14 of 15 checks passed
@taratorio taratorio deleted the exec-engine-drop-td-checks branch November 21, 2024 18:31
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.

2 participants