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

refactor(nodebuilder/share): don't wrap store getter with tee getter #2229

Merged
merged 2 commits into from
May 22, 2023

Conversation

walldiss
Copy link
Member

Overview

The change will save extra dagstore lookup operation on every call to store getter resulting with success. For free.

@walldiss walldiss added area:node Node area:shares Shares and samples kind:refactor Attached to refactoring PRs labels May 19, 2023
@walldiss walldiss self-assigned this May 19, 2023
Copy link
Member

@Wondertan Wondertan left a comment

Choose a reason for hiding this comment

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

Nice find

@walldiss walldiss enabled auto-merge (squash) May 22, 2023 10:41
@walldiss walldiss merged commit 301cdbe into celestiaorg:main May 22, 2023
9 of 12 checks passed
vgonkivs pushed a commit to vgonkivs/celestia-node that referenced this pull request May 22, 2023
…elestiaorg#2229)

## Overview

The change will save extra dagstore lookup operation on every call to
store getter resulting with success. For free.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:node Node area:shares Shares and samples kind:refactor Attached to refactoring PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants