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

Use non-deprecated method to start node after update to polkadot-v1.3.0 #1326

Open
sea212 opened this issue Apr 30, 2024 · 0 comments
Open
Labels
p:high High priority, prioritize the resolution of this issue t:maintenance The issue describes necessary maintenance

Comments

@sea212
Copy link
Member

sea212 commented Apr 30, 2024

The following code requires an update to a new API, but it depends on Moonsong-Labs/moonkit#14 which is only available starting from polkadot-v1.3.0:

#[allow(deprecated)]
// TODO(#1326): Resolve deprecation after upgrade to polkadot-v1.3.0
use cumulus_client_service::{
build_relay_chain_interface, prepare_node_config, start_collator, start_full_node,
StartCollatorParams, StartFullNodeParams,
};

#[allow(deprecated)]
// TODO(#1326): Resolve deprecation after upgrade to polkadot-v1.3.0
start_collator(params).await?;

#[allow(deprecated)]
// TODO(#1326): Resolve deprecation after upgrade to polkadot-v1.3.0
start_full_node(params)?;

@sea212 sea212 added p:high High priority, prioritize the resolution of this issue t:maintenance The issue describes necessary maintenance labels Apr 30, 2024
@sea212 sea212 mentioned this issue Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p:high High priority, prioritize the resolution of this issue t:maintenance The issue describes necessary maintenance
Projects
None yet
Development

No branches or pull requests

1 participant