Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated TryRuntime subcommand #4017

Merged
merged 3 commits into from
Apr 11, 2024
Merged

Conversation

liamaharon
Copy link
Contributor

Completes the removal of try-runtime-cli logic from polkadot-sdk.

@liamaharon liamaharon added the T0-node This PR/Issue is related to the topic “node”. label Apr 7, 2024

crates:
- name: polkadot-parachain-bin
bump: patch
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Making these patch because the subcommands were already a noop.

@@ -61,11 +61,6 @@ pub enum Subcommand {
#[command(subcommand)]
Benchmark(frame_benchmarking_cli::BenchmarkCmd),

/// Try-runtime has migrated to a standalone CLI
/// (<https://github.com/paritytech/try-runtime-cli>). The subcommand exists as a stub and
/// deprecation notice. It will be removed entirely some time after January 2024.
Copy link
Contributor

Choose a reason for hiding this comment

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

damn we didn't mark this as deprecated before, so it will be a breaking chaneg in all node side code of all teams... wdyt about making it deprecated now, and removing one version later? we can still fully remove it from our codebase.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The actual command has been a noop for a few releases, it only logged that it's deprecated with instructions to use the dedicated cli :)

Copy link
Contributor

@kianenigma kianenigma left a comment

Choose a reason for hiding this comment

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

Looks good, just worried that we skipped one release in which we emit a warning, and then break everyone's code.

@liamaharon liamaharon added this pull request to the merge queue Apr 11, 2024
Merged via the queue into master with commit 39b1f50 Apr 11, 2024
133 of 138 checks passed
@liamaharon liamaharon deleted the liam-remove-try-runtime-cli branch April 11, 2024 20:27
@Polkadot-Forum
Copy link

This pull request has been mentioned on Polkadot Forum. There might be relevant details there:

https://forum.polkadot.network/t/paritytech-update-for-april/7646/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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