Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

gossip: futures 03 Receiver#3832

Merged
bkchr merged 12 commits intoparitytech:masterfrom
kigawas:futures03-gossip
Oct 23, 2019
Merged

gossip: futures 03 Receiver#3832
bkchr merged 12 commits intoparitytech:masterfrom
kigawas:futures03-gossip

Conversation

@kigawas
Copy link
Contributor

@kigawas kigawas commented Oct 16, 2019

@parity-cla-bot
Copy link

It looks like @kigawas signed our Contributor License Agreement. 👍

Many thanks,

Parity Technologies CLA Bot

@kianenigma kianenigma added the A0-please_review Pull request needs code review. label Oct 17, 2019
@kigawas kigawas changed the title gossip: futures 03 receiver gossip: futures 03 Receiver Oct 18, 2019
Copy link
Contributor

@Demi-Marie Demi-Marie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if the tests pass.

@gavofyork
Copy link
Member

Need resolving

@gavofyork gavofyork added A7-looksgoodcantmerge and removed A0-please_review Pull request needs code review. labels Oct 19, 2019
kigawas and others added 4 commits October 21, 2019 09:09
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
let inner_rx = gossip
.messages_for(GRANDPA_ENGINE_ID, topic)
.map(|x| Ok(x))
.compat()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I have understood correctly, at some point when the call site of gossip.message_for() also returns a compatible future, this can+should be removed. If this is the case, you can mark #[allow(deprecated)] as TODO: #3099 ... or something similar.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should not compile anymore, when message for returns a future03 stream. So, we don't need to have any Todo here.

@bkchr bkchr merged commit d00d313 into paritytech:master Oct 23, 2019
@kigawas kigawas deleted the futures03-gossip branch October 23, 2019 07:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants