Conversation
|
@tgmichel , I've seen you are doing a lot of @JoshOrndorff or @4meta5 who has more experience with those, what do you suggest ? |
Yeah, it's the other possible approach: no features, enum matching the client and include everything in the binary to launch any of the networks. |
|
Yes @tgmichel , I'm more leaning into that solution if you don't see any drawback |
|
I prefer @tgmichel's current approach (using cargo features) inspired by Acala. The parity approach has a few drawbacks that both lead to longer build time.
There are also advantages to Parity's approach. The big one is that there is only a single binary, single docker image, no need to remember build flags. I'm also more familiar with Parity's approach, so there may be drawbacks to the Acala's approach that I'm not yet aware of. EDIT: My point #2 was wrong. |
|
@JoshOrndorff main drawback I found overall is the Edit: I mean we can still use the feature approach for optimization, but not for the RuntimeApiCollection stuff. |
JoshOrndorff
left a comment
There was a problem hiding this comment.
Here's a preliminary review. I didn't quite get to the end.
|
What happens if no flag is passed? We might wanna update the moonbeam-launch readme (and maybe also tests) |
|
@tgmichel , I've merged master, which included some changes from Joshy on Nimbus. |
|
@JoshOrndorff I restored the author for part of it, as it was needed for the |
|
Everyone, thank you for your reviews. Merging now. |
This PR introduces:
moonbeam,moonbase,moonriverandmoonshadownetworks.AbstractClientas a proxy.General
Service
moon*clients.moon*chainspec.command's functionload_speclogic.Subcommands.TODO-multiple-runtimescomments.Runtime