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

chore: remove segment argument from increment_block #9977

Merged
merged 1 commit into from
Aug 1, 2024
Merged

Conversation

joshieDo
Copy link
Collaborator

@joshieDo joshieDo commented Aug 1, 2024

segment argument is unnecessary since it can be taken from the writer itself.

@joshieDo joshieDo added C-debt A clean up/refactor of existing code A-static-files Related to static files labels Aug 1, 2024
expected_block_number: BlockNumber,
) -> ProviderResult<BlockNumber> {
let segment = self.writer.user_header().segment();
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

here

@joshieDo joshieDo added this pull request to the merge queue Aug 1, 2024
Merged via the queue into main with commit 41d5c07 Aug 1, 2024
33 checks passed
@joshieDo joshieDo deleted the joshie/incb branch August 1, 2024 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-static-files Related to static files C-debt A clean up/refactor of existing code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants