-
Notifications
You must be signed in to change notification settings - Fork 126
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): handle GetMinimumRelayParents
signal
#4363
base: eclesio/fragment-chain-impl
Are you sure you want to change the base?
feat(prospective-parachains): handle GetMinimumRelayParents
signal
#4363
Conversation
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.
LGTM, just a small change in the channel sending line, you can send directly w/o the select to ensure that the other part received the message.
…t_minimum_relay_parents_signal
should wait the merge of branch of #4337 |
Co-authored-by: Eclésio Junior <[email protected]>
GetMinimumRelayParents
signal
dot/parachain/prospective-parachains/prospective-parachains_test.go
Outdated
Show resolved
Hide resolved
dot/parachain/prospective-parachains/prospective-parachains_test.go
Outdated
Show resolved
Hide resolved
dot/parachain/prospective-parachains/prospective-parachains_test.go
Outdated
Show resolved
Hide resolved
dot/parachain/prospective-parachains/prospective-parachains_test.go
Outdated
Show resolved
Hide resolved
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.
almost there, just need to pass the right context in TestProspectiveParachains_HandleMinimumRelayParents()
:)
dot/parachain/prospective-parachains/prospective-parachains_test.go
Outdated
Show resolved
Hide resolved
dot/parachain/prospective-parachains/prospective-parachains_test.go
Outdated
Show resolved
Hide resolved
dot/parachain/prospective-parachains/prospective-parachains_test.go
Outdated
Show resolved
Hide resolved
dot/parachain/prospective-parachains/prospective-parachains_test.go
Outdated
Show resolved
Hide resolved
…t_minimum_relay_parents_signal
Currently waiting for #4337 |
…t_minimum_relay_parents_signal
…t_minimum_relay_parents_signal
…t_minimum_relay_parents_signal
Changes
implements AnswerMinimumRelayParentsRequest
Tests
Unit Tests: Core logic is tested in isolation using testify for assertions
go test -tags integration github.com/ChainSafe/gossamer
Issues
GetMinimumRelayParents
signal #4312