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

Reduce the number of types in build_transport for transport #9793

Merged
2 commits merged into from
Sep 16, 2021

Conversation

kpp
Copy link
Contributor

@kpp kpp commented Sep 15, 2021

What does it do?

Previously the resulting type of transport was OrTransport<OptionalTransport<EitherTransport<A,B>>, OptionalTransport<C>>. Now it is EitherTransport<EitherTransport<A,B>, OptionalTransport<C>>.

The semantics is unchanged but the code is simplified a little bit.

@kpp kpp added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Sep 15, 2021
@kpp kpp requested a review from tomaka September 15, 2021 17:38
@tomaka
Copy link
Contributor

tomaka commented Sep 16, 2021

You probably need to merge master or something because the Polkadot/Substrate compatibility was broken when you opened the PR.

@tomaka
Copy link
Contributor

tomaka commented Sep 16, 2021

bot merge

@ghost
Copy link

ghost commented Sep 16, 2021

Waiting for commit status.

@ghost ghost merged commit 25eb7ac into master Sep 16, 2021
@ghost ghost deleted the build_transport_either branch September 16, 2021 14:31
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants