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

Conversation

@gnunicorn
Copy link
Contributor

@gnunicorn gnunicorn commented Jan 9, 2020

Unfortunately, to make this work with the least code impact necessary (and without refactoring ServiceBuilder), this takes a similar approach as we already use for the register_transaction_pool function to expose it to the service builder, which can then in turn offer it to the outside.

This change is necessary for external libraries (in this case Substrate-LFS) to provide further functionality through the externalities of a chain, so they can be used in e.g. Offchain-Workers.

@gnunicorn gnunicorn added the A0-please_review Pull request needs code review. label Jan 9, 2020
@gnunicorn gnunicorn added this to the 2.0 milestone Jan 9, 2020
@gnunicorn gnunicorn requested review from bkchr, tomaka and tomusdrw January 9, 2020 16:14
Copy link
Contributor

@tomusdrw tomusdrw left a comment

Choose a reason for hiding this comment

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

Looks sensible.

@bkchr
Copy link
Member

bkchr commented Jan 12, 2020

Please merge master.

@gavofyork gavofyork added A7-looksgoodcantmerge and removed A0-please_review Pull request needs code review. labels Jan 13, 2020
@gnunicorn gnunicorn merged commit 8e254d8 into master Jan 13, 2020
@gnunicorn gnunicorn deleted the ben-ext-exts branch January 13, 2020 11:07
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.

5 participants