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
Fix import db on rc v1.6.0 #5018
Conversation
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## rc/v1.6.0 #5018 +/- ##
============================================
Coverage ? 70.64%
============================================
Files ? 666
Lines ? 86516
Branches ? 0
============================================
Hits ? 61119
Misses ? 20812
Partials ? 4585 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
dataRetriever/common_test.go
Outdated
} | ||
|
||
func TestSetEpochHandlerToHdrResolver_CannotSetEpoch(t *testing.T) { | ||
func TestSetEpochHandlerToHdrRequester_GetErr(t *testing.T) { |
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.
func TestSetEpochHandlerToHdrRequester_GetErr(t *testing.T) { | |
func TestSetEpochHandlerToHdrRequester(t *testing.T) { |
same for TestSetEpochHandlerToHdrResolver_GetErr
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.
fixed
) | ||
|
||
// RequestersContainerStub - | ||
type RequestersContainerStub struct { |
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.
why not use the one from testscommon/dataRetriever
? common_test.go
is part of dataRetriever_test
package so there should be no cyclic dependency
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
dataRetriever/common_test.go
Outdated
t.Run("get function errors should return error", func(t *testing.T) { | ||
t.Parallel() | ||
|
||
localErr := errors.New("err") |
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.
can be extracted as global
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
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.
System test passed.
@@ Log scanner @@
fix-import-db-on-rc-v1.6.0
================================================================================
- Known Warnings 8
- New Warnings 2
- Known Errors 0
- New Errors 1
- Panics 0
================================================================================ - block hash does not match 1951
- miniblocks does not match 0
- miniblock hash does not match 0
- receipts hash missmatch 0
- wrong nonce in block 698
================================================================================ - No jailed nodes on the thestnet
================================================================================
Reasoning behind the pull request
Proposed changes
Testing procedure
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
?