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

refactor(cli): Make some run params reusable #13870

Merged
merged 12 commits into from
Apr 25, 2023

Conversation

yjhmelody
Copy link
Contributor

Some offchain service maybe need to reuse some components, so they could reuse these params.


polkadot address: 15ouFh2SHpGbHtDPsJ6cXQfes9Cx1gEFnJJsJVqPGzBSTudr

@yjhmelody yjhmelody marked this pull request as ready for review April 11, 2023 06:57
@yjhmelody
Copy link
Contributor Author

@bkchr Need a review. Thx!

@ggwpez ggwpez requested a review from a team April 17, 2023 09:23
@ggwpez ggwpez added the A0-please_review Pull request needs code review. label Apr 17, 2023
client/cli/src/params/runtime_params.rs Outdated Show resolved Hide resolved
@bkchr bkchr requested a review from a team April 19, 2023 10:41
@bkchr bkchr added B1-note_worthy Changes should be noted in the release notes T0-node This PR/Issue is related to the topic “node”. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Apr 19, 2023
Co-authored-by: Bastian Köcher <git@kchr.de>
@yjhmelody
Copy link
Contributor Author

@bkchr Any problem?

@michalkucharczyk michalkucharczyk requested a review from a team April 25, 2023 07:46
@bkchr bkchr added the C1-low PR touches the given topic and has a low impact on builders. label Apr 25, 2023
@bkchr
Copy link
Member

bkchr commented Apr 25, 2023

/tip low

@substrate-tip-bot
Copy link

@bkchr Invalid tip size. Please specify one of small, medium, large.

@bkchr bkchr merged commit b5846cc into paritytech:master Apr 25, 2023
@bkchr
Copy link
Member

bkchr commented Apr 25, 2023

/tip small

@substrate-tip-bot
Copy link

@bkchr A small tip was successfully submitted for yjhmelody (15ouFh2SHpGbHtDPsJ6cXQfes9Cx1gEFnJJsJVqPGzBSTudr on polkadot).

https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.polkadot.io#/treasury/tips tip

@yjhmelody yjhmelody deleted the refactor-telemetry-params branch April 25, 2023 14:26
gpestana pushed a commit that referenced this pull request May 4, 2023
* refactor: extract TelemetryParams and PrometheusParams

* improve run_cmd docs

* extract `RuntimeParams`

* use `normalize`

* keep params types same style

* improve `max_runtime_instances`

* fmt

* add license and improve code

* Update client/cli/src/params/runtime_params.rs

Co-authored-by: Bastian Köcher <git@kchr.de>

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
nathanwhit pushed a commit to nathanwhit/substrate that referenced this pull request Jul 19, 2023
* refactor: extract TelemetryParams and PrometheusParams

* improve run_cmd docs

* extract `RuntimeParams`

* use `normalize`

* keep params types same style

* improve `max_runtime_instances`

* fmt

* add license and improve code

* Update client/cli/src/params/runtime_params.rs

Co-authored-by: Bastian Köcher <git@kchr.de>

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
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. B1-note_worthy Changes should be noted in the release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit T0-node This PR/Issue is related to the topic “node”.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants