Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
use custom cache store to properly implement interfaces #46
use custom cache store to properly implement interfaces #46
Changes from all commits
8e63366
453960b
0a49836
bd60f1c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 33 in indexer/abci.go
Codecov / codecov/patch
indexer/abci.go#L33
Check warning on line 67 in indexer/abci.go
Codecov / codecov/patch
indexer/abci.go#L67
Check warning on line 71 in indexer/abci.go
Codecov / codecov/patch
indexer/abci.go#L71
Check warning on line 147 in indexer/abci.go
Codecov / codecov/patch
indexer/abci.go#L147
Check warning on line 151 in indexer/abci.go
Codecov / codecov/patch
indexer/abci.go#L151
Check warning on line 157 in indexer/abci.go
Codecov / codecov/patch
indexer/abci.go#L157
Check warning on line 181 in indexer/abci.go
Codecov / codecov/patch
indexer/abci.go#L181
Check warning on line 185 in indexer/abci.go
Codecov / codecov/patch
indexer/abci.go#L185
Check warning on line 85 in indexer/indexer.go
Codecov / codecov/patch
indexer/indexer.go#L85
Check warning on line 28 in indexer/store.go
Codecov / codecov/patch
indexer/store.go#L28
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add test coverage for
NewCacheStore
.The
NewCacheStore
function initializes a new cache store, but there is no test coverage for this functionality. Ensure that tests are added to verify the initialization process.Would you like me to help create unit tests for this function or open a GitHub issue to track this task?
Tools
GitHub Check: codecov/patch
Check warning on line 54 in indexer/store.go
Codecov / codecov/patch
indexer/store.go#L52-L54
Check warning on line 72 in indexer/store.go
Codecov / codecov/patch
indexer/store.go#L70-L72
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add test coverage for
Has
.The
Has
method checks for key existence in the cache or store, but there is no test coverage for this functionality. Ensure that tests are added to verify the existence check.Would you like me to help create unit tests for this method or open a GitHub issue to track this task?
Tools
GitHub Check: codecov/patch
Check warning on line 83 in indexer/store.go
Codecov / codecov/patch
indexer/store.go#L82-L83
Check warning on line 96 in indexer/store.go
Codecov / codecov/patch
indexer/store.go#L95-L96
Check warning on line 109 in indexer/store.go
Codecov / codecov/patch
indexer/store.go#L108-L109
Check warning on line 118 in indexer/store.go
Codecov / codecov/patch
indexer/store.go#L117-L118
Check warning on line 122 in indexer/store.go
Codecov / codecov/patch
indexer/store.go#L121-L122