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

Companion for Substrate#11062 #1113

Merged
merged 11 commits into from
Apr 26, 2022

Conversation

koute
Copy link
Contributor

@koute koute commented Mar 25, 2022

@koute koute added A0-pleasereview B0-silent Changes should not be mentioned in any release notes labels Mar 25, 2022
@koute koute requested a review from a team March 25, 2022 13:09
Copy link
Contributor

@wigy-opensource-developer wigy-opensource-developer left a comment

Choose a reason for hiding this comment

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

Seems like adding a new command-line argument goes quite far. Probably other projects building on our CLI are also affected, right?

@koute
Copy link
Contributor Author

koute commented Mar 25, 2022

Seems like adding a new command-line argument goes quite far. Probably other projects building on our CLI are also affected, right?

Well, yeah. Although the trait for the CLI args sets the new argument to false so unless the Configuration struct is constructed manually somewhere (and here it is in tests) everything should still compile at least. (We should probably consider making the Configuration into a builder so that every time a new argument is added it wouldn't be necessary to also modify everything at the same time.)

@wigy-opensource-developer
Copy link
Contributor

You have not introduced it, but all that copy-paste in polkadot-parachains/src/service.rs made me slightly dizzy. I am definitely looking forward to make it easier to define a concrete client for a chain with less code. Still, how nice that each of these copies are separate chains and you just need this much code to create them.

@koute
Copy link
Contributor Author

koute commented Apr 6, 2022

Yeah, I definitely agree it'd be nice to refactor this eventually!

@paritytech-processbot
Copy link

Waiting for commit status.

@paritytech-processbot paritytech-processbot bot merged commit 867eb8e into paritytech:master Apr 26, 2022
jiguantong added a commit to darwinia-network/darwinia-parachain that referenced this pull request Jun 23, 2022
jiguantong added a commit to darwinia-network/darwinia-parachain that referenced this pull request Jul 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
B0-silent Changes should not be mentioned in any release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants