-
Notifications
You must be signed in to change notification settings - Fork 205
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
Add identifer in tsm #5258
Add identifer in tsm #5258
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## feat/sync-missing-trie-nodes #5258 +/- ##
================================================================
+ Coverage 79.46% 79.50% +0.04%
================================================================
Files 683 686 +3
Lines 88484 88808 +324
================================================================
+ Hits 70313 70607 +294
- Misses 13029 13040 +11
- Partials 5142 5161 +19
☔ View full report in Codecov by Sentry. |
testscommon/components/components.go
Outdated
@@ -2,6 +2,7 @@ package components | |||
|
|||
import ( | |||
"fmt" | |||
"github.com/multiversx/mx-chain-go/testscommon/storage" |
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.
go imports
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.
Done.
@@ -117,6 +118,14 @@ func (s *MemDbMock) RangeKeys(handler func(key []byte, value []byte) bool) { | |||
} | |||
} | |||
|
|||
func (s *MemDbMock) GetIdentifier() string { |
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.
missing comment
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.
Added.
} | ||
|
||
return nil, core.NewGetNodeFromDBErrWithKey(n, err, dbWithID.GetIdentifier()) | ||
return nil, core.NewGetNodeFromDBErrWithKey(n, err, db.GetIdentifier()) |
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.
👍
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.
no other comments from me
Proposed changes
Pre-requisites
Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:
feat
branch created?feat
branch merging, do all satellite projects have a proper tag insidego.mod
?