-
Notifications
You must be signed in to change notification settings - Fork 125
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
feat(prospective-parachains): implements GetBackableCandidates
#4374
base: eclesio/fragment-chain-impl
Are you sure you want to change the base?
feat(prospective-parachains): implements GetBackableCandidates
#4374
Conversation
…elDDHM/gossamer into feature/add_get_backable_candidates
Hey @DanielDDHM! Thank you for your contribution! Please can you assign corresponding issue to your self, this will helps us track progress. Thank you! |
Hello @P1sar I will be assign and focus on this task again asap, at the moment I am focusing on performing this one #4390 anything else, i will let you know, thanks. |
@haikoschol @EclesioMeloJunior @P1sar a small review please. |
GetBackableCandidates
} | ||
} | ||
|
||
func TestGetBackableCandidates(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.
Please add more tests to cover the various cases that result in an empty response.
You probably want to use a generated mock for that. Here is an example for how to do that.
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.
@haikoschol i trying to refactor these tests and i will let you know
Changes
implements GetBackableCandidates
Tests
Unit Tests: Core logic is tested in isolation using testify for assertions
go test -tags integration github.com/ChainSafe/gossamer
Issues
GetBackableCandidates
signal #4310